summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1/ref.cpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-11-25 05:02:10 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-11-25 05:02:10 -0800
commit520119a6f6ed418b8ae45bfde8239bbb532562cd (patch)
tree6cc381877adb5ddfaf131415c64f87eca5649676 /starts/meaning-vm/level-1/ref.cpp
parentcd03e291664cb102bde61d86a15f0add11809766 (diff)
downloadstandingwithresilience-520119a6f6ed418b8ae45bfde8239bbb532562cd.tar.gz
standingwithresilience-520119a6f6ed418b8ae45bfde8239bbb532562cd.zip
cleanup mixin pointer mess for refs
Diffstat (limited to 'starts/meaning-vm/level-1/ref.cpp')
-rw-r--r--starts/meaning-vm/level-1/ref.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-1/ref.cpp b/starts/meaning-vm/level-1/ref.cpp
index 045e879..b593f81 100644
--- a/starts/meaning-vm/level-1/ref.cpp
+++ b/starts/meaning-vm/level-1/ref.cpp
@@ -45,7 +45,7 @@ level0::ref getnamed(std::string const & name)
}
ref::ref(std::string const & name)
-: ref0((level0::concept*)getnamed(name))
+: baseref(getnamed(name).ptr())
{ }
vref<std::string> ref::name() const