about summary refs log tree commit diff stats
path: root/cpp/012run
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/012run')
-rw-r--r--cpp/012run2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/012run b/cpp/012run
index aa6bceb4..5ba43ee5 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -30,7 +30,7 @@ void run(recipe_number r) {
     trace("run") << "instruction " << n;
     switch (p->operation) {
     // Primitive Recipe Implementations.
-    case 1: {  // copy
+    case COPY: {
       trace("run") << "ingredient 0 is " << p->ingredients[0].name;
       vector<int> data = read_memory(p->ingredients[0]);
       write_memory(p->products[0], data);