diff options
author | user <user@localhost.localdomain> | 2019-12-09 07:51:46 -0800 |
---|---|---|
committer | user <user@localhost.localdomain> | 2019-12-09 07:51:46 -0800 |
commit | 0e40f5829a880ba63a3a8603e4babf2c2f7659e5 (patch) | |
tree | a956a7393d66e1bd9e1547737b89b3bd701113ec /starts/meaning-vm/level-2/baseref.hpp | |
parent | 12793ac154b8c9b2e9bb8869cb72bbc1a438dc3d (diff) | |
download | standingwithresilience-0e40f5829a880ba63a3a8603e4babf2c2f7659e5.tar.gz standingwithresilience-0e40f5829a880ba63a3a8603e4babf2c2f7659e5.zip |
compilation fixes for clang
Diffstat (limited to 'starts/meaning-vm/level-2/baseref.hpp')
-rw-r--r-- | starts/meaning-vm/level-2/baseref.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ref> using level1::template baseref<ref>::baseref; // thread-local context - static ref context() { return level2::context(); } + static ref & context() { return level2::context(); } template <typename... Refs> ref operator()(Refs... args) { return level2::dohabit(self, {args.ptr()...}); } |