From 376b333a39445bba51ab9210e1a32f18e86da4e6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 31 Aug 2016 13:15:29 -0700 Subject: 3286 --- 055shape_shifting_container.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to '055shape_shifting_container.cc') diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc index 5c5f6b93..375e1e18 100644 --- a/055shape_shifting_container.cc +++ b/055shape_shifting_container.cc @@ -364,26 +364,6 @@ bool final_type_ingredient(int type_ingredient_index, const type_info& container return true; } -void append(type_tree*& base, type_tree* extra) { - if (!base) { - base = extra; - return; - } - type_tree* curr = base; - while (curr->right) curr = curr->right; - curr->right = extra; -} - -void append(string_tree*& base, string_tree* extra) { - if (!base) { - base = extra; - return; - } - string_tree* curr = base; - while (curr->right) curr = curr->right; - curr->right = extra; -} - void test_replace_type_ingredients_entire() { run("container foo:_elem [\n" " x:_elem\n" -- cgit 1.4.1-2-gfad0