mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Update deprecated ValManager::GetCount usages
This commit is contained in:
parent
0ddac4abcf
commit
93f4c5871b
89 changed files with 830 additions and 844 deletions
|
@ -1232,8 +1232,7 @@ IntrusivePtr<Val> ForStmt::DoExec(Frame* f, Val* v, stmt_flow_type& flow) const
|
|||
|
||||
// Set the loop variable to the current index, and make
|
||||
// another pass over the loop body.
|
||||
f->SetElement((*loop_vars)[0],
|
||||
val_mgr->GetCount(i));
|
||||
f->SetElement((*loop_vars)[0], val_mgr->Count(i).release());
|
||||
flow = FLOW_NEXT;
|
||||
ret = body->Exec(f, flow);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue