From 298f8065857630e414d84e4ee785a6d17e5f99bb Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 5 Jul 2016 01:08:00 -0700 Subject: 3102 --- html/055shape_shifting_container.cc.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/055shape_shifting_container.cc.html') diff --git a/html/055shape_shifting_container.cc.html b/html/055shape_shifting_container.cc.html index 7478d308..abce7ede 100644 --- a/html/055shape_shifting_container.cc.html +++ b/html/055shape_shifting_container.cc.html @@ -288,7 +288,7 @@ replace_type_ingredients(element(element, type, info); :(before "Compute Container Address Offset(element)") replace_type_ingredients(element, type, info); -if (contains_type_ingredient(element)) return true; // error raised elsewhere +if (contains_type_ingredient(element)) return; // error raised elsewhere :(code) void replace_type_ingredients(reagent& element, const type_tree* caller_type, const type_info& info) { @@ -542,7 +542,7 @@ assert(!contains_type_ingredientbool has_nth_type(const type_tree* base, int n) { assert(n >= 0); - if (base == NULL) return false; + if (!base) return false; if (n == 0) return true; return has_nth_type(base->right, n-1); } -- cgit 1.4.1-2-gfad0