about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/010vm b/cpp/010vm
index c7de25b0..1d45f157 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -44,7 +44,7 @@ struct reagent {
   bool initialized;
   vector<type_number> types;
   reagent(string s);
-  reagent(type_number t);
+  reagent();
   void set_value(int v) { value = v; initialized = true; }
   string to_string();
 };
@@ -164,9 +164,7 @@ void setup_recipes() {
       types.push_back(Type_number[properties[0].second[i]]);
     }
   }
-  reagent::reagent(type_number t) :value(0), initialized(false) {
-    types.push_back(t);
-  }
+  reagent::reagent() :value(0), initialized(false) {}
   string reagent::to_string() {
     ostringstream out;
     out << "{name: \"" << name << "\", value: " << value << ", type: ";