summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1/ref.cpp
diff options
context:
space:
mode:
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