diff options
Diffstat (limited to 'starts/meaning-vm/level-0')
-rw-r--r-- | starts/meaning-vm/level-0/baseref.hpp | 2 |
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); } |