summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-0/baseref.hpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-30 11:24:17 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-30 11:24:17 -0800
commit0965367d7581534f5d84cc93a66d3a38a5d646fe (patch)
tree73aaf73b53836a05dae93a430bed36a9ccf5322a /starts/meaning-vm/level-0/baseref.hpp
parent3fdf216140d3b23d016d55b69cf439fed4c174a0 (diff)
downloadstandingwithresilience-0965367d7581534f5d84cc93a66d3a38a5d646fe.tar.gz
standingwithresilience-0965367d7581534f5d84cc93a66d3a38a5d646fe.zip
fixed compilation errors; next is runtime
Diffstat (limited to 'starts/meaning-vm/level-0/baseref.hpp')
-rw-r--r--starts/meaning-vm/level-0/baseref.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-0/baseref.hpp b/starts/meaning-vm/level-0/baseref.hpp
index 90c33e1..5c84279 100644
--- a/starts/meaning-vm/level-0/baseref.hpp
+++ b/starts/meaning-vm/level-0/baseref.hpp
@@ -29,7 +29,7 @@ public:
return self;
}
- void link(ref const & type, ref const & target) { p->link(type.p, target.p); }
+ ref link(ref const & type, ref const & target) { p->link(type.p, target.p); return ptr(); }
void unlink(ref const & type, ref const & target) { p->unlink(type.p, target.p); }
void unlink(ref const & type) { p->unlink(type.p); }