mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
convert scopes to be managed using IntrusivePtr's
This commit is contained in:
parent
f2f041b63b
commit
efd03d41f8
16 changed files with 41 additions and 48 deletions
|
@ -1514,7 +1514,7 @@ TraversalCode FallthroughStmt::Traverse(TraversalCallback* cb) const
|
|||
ReturnStmt::ReturnStmt(ExprPtr arg_e)
|
||||
: ExprStmt(STMT_RETURN, std::move(arg_e))
|
||||
{
|
||||
Scope* s = current_scope();
|
||||
auto s = current_scope();
|
||||
|
||||
if ( ! s || ! s->GetID() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue