mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Convert uses of loop_over_list to ranged-for loops
This commit is contained in:
parent
bf70dad395
commit
e51f02737b
24 changed files with 292 additions and 345 deletions
|
@ -117,8 +117,8 @@ void EventHandler::Call(val_list* vl, bool no_remote)
|
|||
Unref(local->Call(vl));
|
||||
else
|
||||
{
|
||||
loop_over_list(*vl, i)
|
||||
Unref((*vl)[i]);
|
||||
for ( auto v : *vl )
|
||||
Unref(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue