mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Val: add TableVal::Assign() overload with IntrusivePtr
Prepare the transition to IntrusivePtr for various callers.
This commit is contained in:
parent
78712d009f
commit
0a6ddfb6b5
54 changed files with 379 additions and 365 deletions
|
@ -28,7 +28,7 @@ inline RecordVal* query_result()
|
|||
{
|
||||
auto rval = new RecordVal(BifType::Record::Broker::QueryResult);
|
||||
rval->Assign(0, query_status(false));
|
||||
rval->Assign(1, new RecordVal(BifType::Record::Broker::Data));
|
||||
rval->Assign(1, make_intrusive<RecordVal>(BifType::Record::Broker::Data));
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue