diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2018-03-14 00:59:41 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2018-03-14 00:59:41 -0700 |
commit | 090cad5c1b87989049c926e383d2e08667fe325b (patch) | |
tree | a921a10dc350869ecbb67d1180407be13aeb6afe /072recipe.cc | |
parent | 49ec25f7d2892d268968c52edc52762c72ce2c2c (diff) | |
download | mu-090cad5c1b87989049c926e383d2e08667fe325b.tar.gz |
4223
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) { |