mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21: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
|
@ -157,7 +157,7 @@ function Reporter::get_weird_sampling_whitelist%(%): string_set
|
|||
for ( auto el : reporter->GetWeirdSamplingWhitelist() )
|
||||
{
|
||||
auto idx = make_intrusive<StringVal>(el);
|
||||
set->Assign(idx.get(), nullptr);
|
||||
set->Assign(std::move(idx), nullptr);
|
||||
}
|
||||
return set;
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue