about summary refs log tree commit diff stats
path: root/034call.cc
diff options
context:
space:
mode:
Diffstat (limited to '034call.cc')
-rw-r--r--034call.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/034call.cc b/034call.cc
index 80d142d7..957a43f6 100644
--- a/034call.cc
+++ b/034call.cc
@@ -96,7 +96,7 @@ inline const instruction& to_instruction(const call& call) {
 
 :(after "Defined Recipe Checks")
 // not a primitive; check that it's present in the book of recipes
-if (Recipe.find(inst.operation) == Recipe.end()) {
+if (!contains_key(Recipe, inst.operation)) {
   raise_error << maybe(get(Recipe, r).name) << "undefined operation in '" << inst.to_string() << "'\n" << end();
   break;
 }