diff options
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r-- | 047check_type_by_name.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc index b7686dc2..88c406c7 100644 --- a/047check_type_by_name.cc +++ b/047check_type_by_name.cc @@ -51,10 +51,10 @@ void check_type(map<string, type_tree*>& type, map<string, string_tree*>& type_n if (!x.type) return; // might get filled in by other logic later if (!contains_key(type, x.name)) { trace(9992, "transform") << x.name << " => " << debug_string(x.type) << end(); - type[x.name] = x.type; + put(type, x.name, x.type); } if (!contains_key(type_name, x.name)) - type_name[x.name] = x.properties.at(0).second; + put(type_name, x.name, x.properties.at(0).second); if (!types_strictly_match(type[x.name], x.type)) raise_error << maybe(get(Recipe, r).name) << x.name << " used with multiple types\n" << end(); } |