mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Call parent constructor from LambdaExpr.
This commit is contained in:
parent
f47390f66a
commit
409f27955b
10 changed files with 37 additions and 51 deletions
|
@ -530,7 +530,7 @@ std::unique_ptr<function_ingredients> gather_function_ingredients(Stmt* body)
|
|||
ingredients->priority = get_func_priotity(attrs);
|
||||
ingredients->body = body;
|
||||
|
||||
return std::move(ingredients);
|
||||
return ingredients;
|
||||
}
|
||||
|
||||
Val* internal_val(const char* name)
|
||||
|
@ -555,7 +555,7 @@ std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body)
|
|||
for ( size_t i = 0; i < cb.outer_id_references.size(); ++i )
|
||||
idl->append(cb.outer_id_references[i]->Id());
|
||||
|
||||
return std::move(idl);
|
||||
return idl;
|
||||
}
|
||||
|
||||
Val* internal_const_val(const char* name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue