mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +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
|
@ -286,7 +286,7 @@ RecordVal* BroFile::Rotate()
|
|||
return 0;
|
||||
}
|
||||
|
||||
info->Assign(2, new Val(open_time, TYPE_TIME));
|
||||
info->Assign(2, make_intrusive<Val>(open_time, TYPE_TIME));
|
||||
|
||||
Unlink();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue