mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use type aliases for IntrusivePtr definitions
This commit is contained in:
parent
f6a251cdac
commit
ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions
|
@ -151,7 +151,7 @@ Trigger::Trigger(zeek::detail::Expr* arg_cond, zeek::detail::Stmt* arg_body,
|
|||
arg_frame->SetDelayed();
|
||||
}
|
||||
|
||||
zeek::IntrusivePtr<Val> timeout_val;
|
||||
ValPtr timeout_val;
|
||||
|
||||
if ( arg_timeout )
|
||||
{
|
||||
|
@ -264,7 +264,7 @@ bool Trigger::Eval()
|
|||
|
||||
f->SetTrigger({zeek::NewRef{}, this});
|
||||
|
||||
zeek::IntrusivePtr<Val> v;
|
||||
ValPtr v;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -348,8 +348,8 @@ void Trigger::Timeout()
|
|||
if ( timeout_stmts )
|
||||
{
|
||||
stmt_flow_type flow;
|
||||
zeek::IntrusivePtr<Frame> f{zeek::AdoptRef{}, frame->Clone()};
|
||||
zeek::IntrusivePtr<Val> v;
|
||||
FramePtr f{zeek::AdoptRef{}, frame->Clone()};
|
||||
ValPtr v;
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue