mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Change LambdaExpr::OuterIDs() accessor to return const-reference
This commit is contained in:
parent
990bbb1626
commit
1f7580db65
2 changed files with 2 additions and 2 deletions
|
@ -1126,7 +1126,7 @@ TraversalCode RD_Decorate::PreExpr(const Expr* e)
|
|||
case EXPR_LAMBDA:
|
||||
{
|
||||
auto l = dynamic_cast<const LambdaExpr*>(e);
|
||||
auto ids = l->OuterIDs();
|
||||
const auto& ids = l->OuterIDs();
|
||||
|
||||
for ( auto& id : ids )
|
||||
CheckVar(e, id, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue