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-10 06:56:07 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-10 06:56:07 -0800
commit3a054408336ab5754a9da6050bf31110f2211c89 (patch)
treeb58d22733d2ee50a24942bb6e06786d7a84ea9ce /starts/meaning-vm/level-1/baseref.hpp
parent971852c322523145f44bf384bebb82870a99708d (diff)
parentd84b81bc12e6a22e442d5dce38e59222119311f0 (diff)
downloadstandingwithresilience-3a054408336ab5754a9da6050bf31110f2211c89.tar.gz
standingwithresilience-3a054408336ab5754a9da6050bf31110f2211c89.zip
Merge branch 'wip'
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...)>>(); }