diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-28 13:02:06 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-28 13:02:06 -0800 |
commit | 5a49cfeccb068b0e1cbe6eef539eda2eacd6273f (patch) | |
tree | c96a2b8478fd6afb336d13fd710005766c3866f6 /011load.cc | |
parent | 2ef4400dfeae13d02165a551551c5e4b1d399470 (diff) | |
download | mu-5a49cfeccb068b0e1cbe6eef539eda2eacd6273f.tar.gz |
2553 - keep failed specializations from generating spurious errors
Thanks Caleb Couch.
Diffstat (limited to '011load.cc')
-rw-r--r-- | 011load.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/011load.cc b/011load.cc index 59d667a9..95631151 100644 --- a/011load.cc +++ b/011load.cc @@ -61,7 +61,6 @@ long long int slurp_recipe(istream& in) { // End recipe Body(result) get_or_insert(Recipe, get(Recipe_ordinal, result.name)) = result; // track added recipes because we may need to undo them in tests; see below -//? LOG << "recently added recipe: " << result.name << ' ' << get(Recipe_ordinal, result.name) << '\n'; Recently_added_recipes.push_back(get(Recipe_ordinal, result.name)); return get(Recipe_ordinal, result.name); } @@ -245,7 +244,6 @@ void clear_recently_added_recipes() { if (Recently_added_recipes.at(i) >= Reserved_for_tests // don't renumber existing recipes, like 'interactive' && contains_key(Recipe, Recently_added_recipes.at(i))) // in case previous test had duplicate definitions Recipe_ordinal.erase(get(Recipe, Recently_added_recipes.at(i)).name); -//? LOG << "erase recipe " << Recently_added_recipes.at(i) << ' ' << get(Recipe, Recently_added_recipes.at(i)).name << '\n'; Recipe.erase(Recently_added_recipes.at(i)); } // Clear Other State For Recently_added_recipes |