Move IntrusivePtr and utility methods to the zeek namespace

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:40:00 -04:00
parent 4668378d91
commit 9364e6a5b7
255 changed files with 3761 additions and 3730 deletions

View file

@ -151,7 +151,7 @@ Trigger::Trigger(zeek::detail::Expr* arg_cond, zeek::detail::Stmt* arg_body,
arg_frame->SetDelayed();
}
IntrusivePtr<Val> timeout_val;
zeek::IntrusivePtr<Val> timeout_val;
if ( arg_timeout )
{
@ -262,9 +262,9 @@ bool Trigger::Eval()
return false;
}
f->SetTrigger({NewRef{}, this});
f->SetTrigger({zeek::NewRef{}, this});
IntrusivePtr<Val> v;
zeek::IntrusivePtr<Val> v;
try
{
@ -348,8 +348,8 @@ void Trigger::Timeout()
if ( timeout_stmts )
{
stmt_flow_type flow;
IntrusivePtr<Frame> f{AdoptRef{}, frame->Clone()};
IntrusivePtr<Val> v;
zeek::IntrusivePtr<Frame> f{zeek::AdoptRef{}, frame->Clone()};
zeek::IntrusivePtr<Val> v;
try
{