diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-08 01:02:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-08 01:02:42 -0700 |
commit | 96f19e1e57c9d8508c7003aa4de4a87d0c7239c3 (patch) | |
tree | f4030c20c24202fd814b9a1ee04d507cd7b07c9c /cpp/025name | |
parent | e38c85a1eb6a0107ed43d7d7dbc9f4080a917c59 (diff) | |
download | mu-96f19e1e57c9d8508c7003aa4de4a87d0c7239c3.tar.gz |
1038 - clean up layer organization a little
Things are quite intricate to avoid reloading all recipes before every test. But mu wasn't really intended to sidestep intrinsic intricacy.
Diffstat (limited to 'cpp/025name')
-rw-r--r-- | cpp/025name | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/025name b/cpp/025name index 0c36d5ca..62c07c85 100644 --- a/cpp/025name +++ b/cpp/025name @@ -25,9 +25,9 @@ Transform.push_back(transform_names); unordered_map<recipe_number, unordered_map<string, int> > Name; :(before "End One-time Setup") Name.clear(); -:(before "Clear state for recipes_added_by_test") -for (size_t i = 0; i < recipes_added_by_test.size(); ++i) { - Name.erase(recipes_added_by_test[i]); +:(before "Clear state for recently_added_recipes") +for (size_t i = 0; i < recently_added_recipes.size(); ++i) { + Name.erase(recently_added_recipes[i]); } :(code) |