From 0e40f5829a880ba63a3a8603e4babf2c2f7659e5 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 9 Dec 2019 07:51:46 -0800 Subject: compilation fixes for clang --- starts/meaning-vm/level-2/funcs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starts/meaning-vm/level-2/funcs.cpp') diff --git a/starts/meaning-vm/level-2/funcs.cpp b/starts/meaning-vm/level-2/funcs.cpp index 3c34c41..ed50c39 100644 --- a/starts/meaning-vm/level-2/funcs.cpp +++ b/starts/meaning-vm/level-2/funcs.cpp @@ -11,7 +11,7 @@ namespace level2 { using namespace concepts; -ref context() +ref & context() { static thread_local auto ctx = a(concepts::context); return ctx; @@ -19,7 +19,7 @@ ref context() ref makehabit(ref name, std::initializer_list argnames, std::function code) { - ref habit = level1::a(habit, name); + ref habit = level1::a(concepts::habit, name); ref posarg = habit; for (auto argname : argnames) { ref nextarg = a(positional-argument); -- cgit v1.2.3