diff options
Diffstat (limited to '033exclusive_container.cc')
-rw-r--r-- | 033exclusive_container.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/033exclusive_container.cc b/033exclusive_container.cc index 3893d46f..65995b14 100644 --- a/033exclusive_container.cc +++ b/033exclusive_container.cc @@ -83,6 +83,7 @@ MAYBE_CONVERT, Recipe_ordinal["maybe-convert"] = MAYBE_CONVERT; :(before "End Primitive Recipe Implementations") case MAYBE_CONVERT: { + products.resize(1); if (SIZE(ingredients) != 2) { raise << current_recipe_name() << ": 'maybe-convert' expects exactly 2 ingredients in '" << current_instruction().to_string() << "'\n" << end(); break; @@ -106,7 +107,6 @@ case MAYBE_CONVERT: { else { result = 0; } - products.resize(1); products.at(0).push_back(result); break; } |