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/baseref.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starts/meaning-vm/level-2/baseref.hpp') diff --git a/starts/meaning-vm/level-2/baseref.hpp b/starts/meaning-vm/level-2/baseref.hpp index 921d1d3..c66d1a7 100644 --- a/starts/meaning-vm/level-2/baseref.hpp +++ b/starts/meaning-vm/level-2/baseref.hpp @@ -17,7 +17,7 @@ struct baseref : public level1::baseref using level1::template baseref::baseref; // thread-local context - static ref context() { return level2::context(); } + static ref & context() { return level2::context(); } template ref operator()(Refs... args) { return level2::dohabit(self, {args.ptr()...}); } -- cgit v1.2.3