mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue