diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-31 13:15:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-31 13:15:29 -0700 |
commit | 376b333a39445bba51ab9210e1a32f18e86da4e6 (patch) | |
tree | 54ca98803cd2ba221f21fea0d45279a635b69ddd /055shape_shifting_container.cc | |
parent | ce2e604ec97259cbc143f9b6ae429b45d33a836f (diff) | |
download | mu-376b333a39445bba51ab9210e1a32f18e86da4e6.tar.gz |
3286
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" |