Use type aliases for IntrusivePtr definitions

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:46:34 -04:00
parent f6a251cdac
commit ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions

View file

@ -749,7 +749,7 @@ void do_atif(zeek::detail::Expr* expr)
LocalNameFinder cb;
expr->Traverse(&cb);
zeek::IntrusivePtr<Val> val;
ValPtr val;
if ( cb.local_names.empty() )
val = expr->Eval(nullptr);