From dc80c7b92a9c5e576436f5c877fa9ecc6883d152 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 10 Nov 2016 21:36:51 -0800 Subject: [PATCH] 3662 --- 055shape_shifting_container.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc index 1953a3c63..90f1f955c 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::const_iterator p = container_info.type_ingredient_names.begin(); p != container_info.type_ingredient_names.end(); ++p) {