diff options
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r-- | 055shape_shifting_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc index 2f5cc81c..13a3c287 100644 --- a/055shape_shifting_container.cc +++ b/055shape_shifting_container.cc @@ -111,9 +111,9 @@ bool read_type_ingredients(string& name, const string& command) { } if (contains_key(Type_ordinal, name) && contains_key(Type, get(Type_ordinal, name))) { - const type_info& info = get(Type, get(Type_ordinal, name)); + const type_info& previous_info = get(Type, get(Type_ordinal, name)); // we've already seen this container; make sure type ingredients match - if (!type_ingredients_match(type_ingredient_names, info.type_ingredient_names)) { + if (!type_ingredients_match(type_ingredient_names, previous_info.type_ingredient_names)) { raise << "headers of " << command << " '" << name << "' must use identical type ingredients\n" << end(); return false; } |