diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-28 00:33:55 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-28 00:33:55 -0800 |
commit | 4f3d90650942cd840b860c7c6a4732566ecb42a4 (patch) | |
tree | 9b62724ac337526a32dd12f8a5e5468ecacf48a2 /059shape_shifting_recipe.cc | |
parent | d528e4b5389b3d60b939f026548ebc93d9b6a413 (diff) | |
download | mu-4f3d90650942cd840b860c7c6a4732566ecb42a4.tar.gz |
2720 - hash table teetering but alive
More bugs fixed in generics to make this work.
Diffstat (limited to '059shape_shifting_recipe.cc')
-rw-r--r-- | 059shape_shifting_recipe.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc index e23704f0..13df6388 100644 --- a/059shape_shifting_recipe.cc +++ b/059shape_shifting_recipe.cc @@ -405,6 +405,7 @@ void replace_type_ingredients(reagent& x, const map<string, const type_tree*>& m replace_type_ingredients(x.type, mappings); } +// todo: too complicated and likely incomplete; maybe avoid replacing in place? void replace_type_ingredients(type_tree* type, const map<string, const type_tree*>& mappings) { if (!type) return; if (contains_key(Type_ordinal, type->name)) // todo: ugly side effect |