diff options
-rw-r--r-- | cpp/025name | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/025name b/cpp/025name index 78250426..6f61234d 100644 --- a/cpp/025name +++ b/cpp/025name @@ -23,8 +23,12 @@ Transform.push_back(transform_names); :(before "End Globals") unordered_map<recipe_number, unordered_map<string, int> > Name; -:(before "End Setup") +:(before "End One-time Setup") Name.clear(); +:(before "recipes_added_by_test.clear()") +for (size_t i = 0; i < recipes_added_by_test.size(); ++i) { + Name.erase(recipes_added_by_test[i]); +} :(code) void transform_names(const recipe_number r) { |