diff options
Diffstat (limited to 'cpp/012transform')
-rw-r--r-- | cpp/012transform | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/012transform b/cpp/012transform index 59b87e69..888c7585 100644 --- a/cpp/012transform +++ b/cpp/012transform @@ -17,7 +17,7 @@ vector<transform_fn> Transform; void transform_all() { //? cout << "AAA transform_all\n"; //? 1 for (size_t t = 0; t < Transform.size(); ++t) { - for (unordered_map<recipe_number, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) { + for (map<recipe_number, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) { recipe& r = p->second; if (r.steps.empty()) continue; if (r.transformed_until != t-1) continue; @@ -30,7 +30,7 @@ void transform_all() { void parse_int_reagents() { //? cout << "parse_int_reagents\n"; //? 1 - for (unordered_map<recipe_number, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) { + for (map<recipe_number, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) { recipe& r = p->second; if (r.steps.empty()) continue; for (size_t index = 0; index < r.steps.size(); ++index) { |