aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 10:39:04 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 10:39:04 +0200
commit867a65c0046848bc5e6867ae76f16db293ba4101 (patch)
tree8586aa4c116e75c21b91ce95d6560b8b14f15ef9 /src/keeper.h
parent03cb6d50e4943e88bc634c1b0315b05b12cf92fa (diff)
downloadlanes-867a65c0046848bc5e6867ae76f16db293ba4101.tar.gz
lanes-867a65c0046848bc5e6867ae76f16db293ba4101.tar.bz2
lanes-867a65c0046848bc5e6867ae76f16db293ba4101.zip
Code boyscouting
Diffstat (limited to 'src/keeper.h')
-rw-r--r--src/keeper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keeper.h b/src/keeper.h
index 1425a3b..5cc7422 100644
--- a/src/keeper.h
+++ b/src/keeper.h
@@ -28,7 +28,7 @@ using KeeperState = Unique<lua_State*>;
28struct Keeper 28struct Keeper
29{ 29{
30 std::mutex mutex; 30 std::mutex mutex;
31 KeeperState L{ nullptr }; 31 KeeperState K{ nullptr };
32 32
33 [[nodiscard]] static void* operator new[](size_t size_, Universe* U_) noexcept; 33 [[nodiscard]] static void* operator new[](size_t size_, Universe* U_) noexcept;
34 // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception 34 // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception