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/010vm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/010vm b/cpp/010vm
index d37dd83a..c7de25b0 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -45,6 +45,7 @@ struct reagent {
   vector<type_number> types;
   reagent(string s);
   reagent(type_number t);
+  void set_value(int v) { value = v; initialized = true; }
   string to_string();
 };