mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Move IntrusivePtr and utility methods to the zeek namespace
This commit is contained in:
parent
4668378d91
commit
9364e6a5b7
255 changed files with 3761 additions and 3730 deletions
|
@ -170,10 +170,10 @@ bool RuleConditionEval::DoMatch(Rule* rule, RuleEndpointState* state,
|
|||
// Call function with a signature_state value as argument.
|
||||
zeek::Args args;
|
||||
args.reserve(2);
|
||||
args.emplace_back(AdoptRef{}, rule_matcher->BuildRuleStateValue(rule, state));
|
||||
args.emplace_back(zeek::AdoptRef{}, rule_matcher->BuildRuleStateValue(rule, state));
|
||||
|
||||
if ( data )
|
||||
args.emplace_back(make_intrusive<StringVal>(len, (const char*) data));
|
||||
args.emplace_back(zeek::make_intrusive<StringVal>(len, (const char*) data));
|
||||
else
|
||||
args.emplace_back(val_mgr->EmptyString());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue