diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-06 08:25:51 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-06 08:25:51 -0800 |
commit | 7b3382e6e10a34098eb3f3d97473eab47ac3ac94 (patch) | |
tree | d49fd662e499e6e2c123d52be10beda9b5f1d56d /starts/meaning-vm/level-0 | |
parent | 1c69cfe93e07f1f7d6d8de6908a0a4caa1dce9bd (diff) | |
download | standingwithresilience-7b3382e6e10a34098eb3f3d97473eab47ac3ac94.tar.gz standingwithresilience-7b3382e6e10a34098eb3f3d97473eab47ac3ac94.zip |
some code around a timing concept
Diffstat (limited to 'starts/meaning-vm/level-0')
-rw-r--r-- | starts/meaning-vm/level-0/baseref.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-0/baseref.hpp b/starts/meaning-vm/level-0/baseref.hpp index 77c783d..068ccfa 100644 --- a/starts/meaning-vm/level-0/baseref.hpp +++ b/starts/meaning-vm/level-0/baseref.hpp @@ -23,6 +23,12 @@ public: } } + baseref & operator=(concept *p) + { + self.p = p; + return self; + } + void link(ref const & type, ref const & target) { p->link(type.p, target.p); } void unlink(ref const & type, ref const & target) { p->unlink(type.p, target.p); } void unlink(ref const & type) { p->unlink(type.p); } |