summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1/baseref.hpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-09 20:38:22 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-09 20:38:22 -0800
commit1b8c47a8b14f784f6605eee3a73713dbce6ca572 (patch)
tree9b7034b5e148ee8b0f9fbe0c6e89d7f9a656a27e /starts/meaning-vm/level-1/baseref.hpp
parent3e3aeddec840fed915b0fa748dcd2f56d6f682ef (diff)
downloadstandingwithresilience-1b8c47a8b14f784f6605eee3a73713dbce6ca572.tar.gz
standingwithresilience-1b8c47a8b14f784f6605eee3a73713dbce6ca572.zip
changed level-0 allocation to use groups
Diffstat (limited to 'starts/meaning-vm/level-1/baseref.hpp')
-rw-r--r--starts/meaning-vm/level-1/baseref.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-1/baseref.hpp b/starts/meaning-vm/level-1/baseref.hpp
index e97db2d..5055d44 100644
--- a/starts/meaning-vm/level-1/baseref.hpp
+++ b/starts/meaning-vm/level-1/baseref.hpp
@@ -31,7 +31,7 @@ struct baseref : public level0::baseref<ref>
ref operator[](ref subref) const { return self.get(subref); }
template <typename T>
- void vset(ref const & type, T const & v) { self.set(type, level1::alloc(v)); }
+ void vset(ref const & type, T const & v) { self.set(type, level1::alloc(level0::concepts::allocations(), v)); }
template <typename... Ref>
std::function<ref(Ref...)> & fun() { return self.template val<std::function<ref(Ref...)>>(); }