diff options
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r-- | 055shape_shifting_container.cc | 20 |
1 files changed, 0 insertions, 20 deletions
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" |