mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
changed function_ingredients struct to FunctionIngredients class with accessors
This commit is contained in:
parent
5718046b96
commit
0c434ca4f8
11 changed files with 63 additions and 53 deletions
|
@ -2415,8 +2415,8 @@ StmtPtr CallExpr::ReduceToSingletons(Reducer* c)
|
|||
|
||||
ExprPtr LambdaExpr::Duplicate()
|
||||
{
|
||||
auto ingr = std::make_unique<function_ingredients>(*ingredients);
|
||||
ingr->body = ingr->body->Duplicate();
|
||||
auto ingr = std::make_unique<FunctionIngredients>(*ingredients);
|
||||
ingr->SetBody(ingr->Body()->Duplicate());
|
||||
return SetSucc(new LambdaExpr(std::move(ingr), outer_ids));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue