From 09a7ef7616b482ee791646211a4baba268b23589 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 30 Jan 2016 10:55:18 -0800 Subject: 2615 --- 047check_type_by_name.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '047check_type_by_name.cc') 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& type, map& 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(); } -- cgit 1.4.1-2-gfad0