diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-01-30 10:55:18 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-01-30 10:55:18 -0800 |
commit | 09a7ef7616b482ee791646211a4baba268b23589 (patch) | |
tree | a5edcf74eb3be579a4d8b430a985773f7060c5b3 /047check_type_by_name.cc | |
parent | e06dbec08d4b82af2478c288c9fe158a12ef3b1b (diff) | |
download | mu-09a7ef7616b482ee791646211a4baba268b23589.tar.gz |
2615
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(); } |