about summary refs log tree commit diff stats
path: root/cpp/025name
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/025name')
-rw-r--r--cpp/025name6
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) {
ref='#n106'>106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133