about summary refs log tree commit diff stats
path: root/062scheduler.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-06 00:46:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-06 00:46:39 -0700
commit3473c63ad94756d6f79ddd5c48813e79d87429ca (patch)
tree9825e9a1c4fecf3f52697364bae17d7572bf5cdf /062scheduler.cc
parentce9616a77fc4e1c22e913308c8ea55ef05203211 (diff)
downloadmu-3473c63ad94756d6f79ddd5c48813e79d87429ca.tar.gz
2931 - be explicit about making copies
Diffstat (limited to '062scheduler.cc')
-rw-r--r--062scheduler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/062scheduler.cc b/062scheduler.cc
index a1209738..a3d0baad 100644
--- a/062scheduler.cc
+++ b/062scheduler.cc
@@ -168,7 +168,7 @@ case START_RUNNING: {
   // populate ingredients
   for (int i = 1; i < SIZE(current_instruction().ingredients); ++i) {
     new_routine->calls.front().ingredient_atoms.push_back(ingredients.at(i));
-    reagent ingredient = current_instruction().ingredients.at(i);
+    reagent/*copy*/ ingredient = current_instruction().ingredients.at(i);
     canonize_type(ingredient);
     new_routine->calls.front().ingredients.push_back(ingredient);
   }