From fe51b5bb71f7eadf6072a51c31c0ffee91c815c8 Mon Sep 17 00:00:00 2001 From: olpc user Date: Mon, 23 Dec 2019 13:11:16 -0800 Subject: some bugfixes --- starts/meaning-vm/level-2/sugar.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starts/meaning-vm/level-2') 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) \ - [=](ref ctx) \ + [&](ref ctx) \ { \ { \ static int delay = (double(rand()) / RAND_MAX * 400000 + 200000); \ -- cgit v1.2.3