convert scopes to be managed using IntrusivePtr's

This commit is contained in:
Vern Paxson 2021-05-30 17:20:29 -07:00
parent f2f041b63b
commit efd03d41f8
16 changed files with 41 additions and 48 deletions

View file

@ -4554,9 +4554,9 @@ void LambdaExpr::CheckCaptures()
}
}
Scope* LambdaExpr::GetScope() const
ScopePtr LambdaExpr::GetScope() const
{
return ingredients->scope.get();
return ingredients->scope;
}
ValPtr LambdaExpr::Eval(Frame* f) const