From 0965367d7581534f5d84cc93a66d3a38a5d646fe Mon Sep 17 00:00:00 2001 From: olpc user Date: Mon, 30 Dec 2019 11:24:17 -0800 Subject: fixed compilation errors; next is runtime --- starts/meaning-vm/level-0/baseref.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starts/meaning-vm/level-0') 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); } -- cgit v1.2.3