mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Deprecate TableVal::Assign methods with Val*, add IntrusivePtr overloads
This commit is contained in:
parent
5bf2ed02d7
commit
7e89c8f0df
22 changed files with 106 additions and 95 deletions
|
@ -143,7 +143,7 @@ bool File::UpdateConnectionFields(Connection* conn, bool is_orig)
|
|||
if ( conns->AsTableVal()->Lookup(idx.get()) )
|
||||
return false;
|
||||
|
||||
conns->AsTableVal()->Assign(idx.get(), conn->ConnVal());
|
||||
conns->AsTableVal()->Assign(std::move(idx), conn->ConnVal());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue