diff options
Diffstat (limited to '072recipe.cc')
-rw-r--r-- | 072recipe.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/072recipe.cc b/072recipe.cc index 99411e31..62e4638b 100644 --- a/072recipe.cc +++ b/072recipe.cc @@ -331,10 +331,7 @@ void test_from_reagent_reads_sole_ingredient_at_end() { :(code) reagent next_recipe_reagent(const type_tree* curr) { if (!curr->left) return reagent("recipe:"+curr->name); - reagent result; - result.name = "recipe"; - result.type = new type_tree(*curr); - return result; + return reagent(new type_tree(*curr)); } bool is_mu_recipe(const reagent& r) { |