diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 21:36:51 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 21:36:51 -0800 |
commit | dc80c7b92a9c5e576436f5c877fa9ecc6883d152 (patch) | |
tree | 1de1bb61e352bef64016bb3d6a633fd2bca81cb9 | |
parent | a8aba3ca1210b6c73ee764e8f593a455cb22215a (diff) | |
download | mu-dc80c7b92a9c5e576436f5c877fa9ecc6883d152.tar.gz |
3662
-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 1953a3c6..90f1f955 100644 --- a/055shape_shifting_container.cc +++ b/055shape_shifting_container.cc @@ -367,7 +367,7 @@ void replace_type_ingredients(type_tree* element_type, const type_tree* callsite } const type_tree* nth_type_ingredient(const type_tree* callsite_type, int type_ingredient_index, const type_info& container_info) { - bool final = final_type_ingredient(type_ingredient_index, container_info); + bool final = is_final_type_ingredient(type_ingredient_index, container_info); const type_tree* curr = callsite_type; for (int i = 0; i < type_ingredient_index; ++i) { assert(curr); @@ -382,7 +382,7 @@ const type_tree* nth_type_ingredient(const type_tree* callsite_type, int type_in return curr; } -bool final_type_ingredient(int type_ingredient_index, const type_info& container_info) { +bool is_final_type_ingredient(int type_ingredient_index, const type_info& container_info) { for (map<string, type_ordinal>::const_iterator p = container_info.type_ingredient_names.begin(); p != container_info.type_ingredient_names.end(); ++p) { |