diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-28 09:53:39 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-28 09:53:39 -0800 |
commit | 60c225baef638e17b90146a3537ce28119497bb8 (patch) | |
tree | 4478413fd197b2efac211e1070f372b8c05a6540 | |
parent | 67f969b971ef0c02cca02373c281d8c65b672232 (diff) | |
download | mu-60c225baef638e17b90146a3537ce28119497bb8.tar.gz |
2550
-rw-r--r-- | 056recipe_header.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc index 3c43fa38..dc5fd564 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -198,6 +198,7 @@ Transform.push_back(check_header_ingredients); // idempotent void check_header_ingredients(const recipe_ordinal r) { recipe& caller_recipe = get(Recipe, r); if (caller_recipe.products.empty()) return; + caller_recipe.ingredient_index.clear(); trace(9991, "transform") << "--- checking reply instructions against header for " << caller_recipe.name << end(); for (long long int i = 0; i < SIZE(caller_recipe.ingredients); ++i) { if (contains_key(caller_recipe.ingredient_index, caller_recipe.ingredients.at(i).name)) |