summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/sugar.hpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-23 13:11:16 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-23 13:11:16 -0800
commitfe51b5bb71f7eadf6072a51c31c0ffee91c815c8 (patch)
treec42a69573c2b0105c50d2f2524af1d3b2e1e56f6 /starts/meaning-vm/level-2/sugar.hpp
parent8db6ac879adf30e9e1aa61a8b441dea2ff09f9fb (diff)
downloadstandingwithresilience-fe51b5bb71f7eadf6072a51c31c0ffee91c815c8.tar.gz
standingwithresilience-fe51b5bb71f7eadf6072a51c31c0ffee91c815c8.zip
some bugfixes
Diffstat (limited to 'starts/meaning-vm/level-2/sugar.hpp')
-rw-r--r--starts/meaning-vm/level-2/sugar.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-2/sugar.hpp b/starts/meaning-vm/level-2/sugar.hpp
index e6d9ea4..adedaa9 100644
--- a/starts/meaning-vm/level-2/sugar.hpp
+++ b/starts/meaning-vm/level-2/sugar.hpp
@@ -25,7 +25,7 @@
ref(#name), \
{_macro_call(_macro_for_each_parens, _macro_habit_argnameref, _macro_habit_commaargnameref _macro_comma_remove_parens(argnametoklist))}, \
(std::function<void(ref)>) \
- [=](ref ctx) \
+ [&](ref ctx) \
{ \
{ \
static int delay = (double(rand()) / RAND_MAX * 400000 + 200000); \