mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Val: use class IntrusivePtr in class TableVal
This commit is contained in:
parent
93c2064b9a
commit
674e141a15
27 changed files with 88 additions and 109 deletions
|
@ -1666,7 +1666,7 @@ IntrusivePtr<Val> InitStmt::Exec(Frame* f, stmt_flow_type& flow) const
|
|||
v = new VectorVal(t->AsVectorType());
|
||||
break;
|
||||
case TYPE_TABLE:
|
||||
v = new TableVal(t->AsTableType(), aggr->Attrs());
|
||||
v = new TableVal({NewRef{}, t->AsTableType()}, {NewRef{}, aggr->Attrs()});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue