mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Replace uses of the old Dict generation code with new template versions
This commit is contained in:
parent
e2feec52be
commit
50943a580c
26 changed files with 62 additions and 94 deletions
|
@ -1147,7 +1147,7 @@ Val* ForStmt::DoExec(Frame* f, Val* v, stmt_flow_type& flow) const
|
|||
if ( v->Type()->Tag() == TYPE_TABLE )
|
||||
{
|
||||
TableVal* tv = v->AsTableVal();
|
||||
const PDict(TableEntryVal)* loop_vals = tv->AsTable();
|
||||
const PDict<TableEntryVal>* loop_vals = tv->AsTable();
|
||||
|
||||
if ( ! loop_vals->Length() )
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue