about summary refs log tree commit diff stats
path: root/085scenario_console.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-07-01 22:34:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-07-01 22:34:50 -0700
commit3259784417ceb4e81156f708eaccf417cd048ea2 (patch)
treeadb6c771afc019752d97e3e0aed95fa8d481ec3b /085scenario_console.cc
parent4634136fc80f37c534def6cbad0371ade034c747 (diff)
downloadmu-3259784417ceb4e81156f708eaccf417cd048ea2.tar.gz
3083
Diffstat (limited to '085scenario_console.cc')
-rw-r--r--085scenario_console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/085scenario_console.cc b/085scenario_console.cc
index c6321623..f6c17054 100644
--- a/085scenario_console.cc
+++ b/085scenario_console.cc
@@ -281,7 +281,7 @@ int size_of_event() {
   // memoize result if already computed
   static int result = 0;
   if (result) return result;
-  type_tree* type = new type_tree("event", get(Type_ordinal, "event"));
+  type_tree* type = new type_tree("event");
   result = size_of(type);
   delete type;
   return result;
@@ -292,7 +292,7 @@ int size_of_console() {
   static int result = 0;
   if (result) return result;
   assert(get(Type_ordinal, "console"));
-  type_tree* type = new type_tree("console", get(Type_ordinal, "console"));
+  type_tree* type = new type_tree("console");
   result = size_of(type)+/*refcount*/1;
   delete type;
   return result;