diff options
Diffstat (limited to '')
-rw-r--r-- | src/keeper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keeper.h b/src/keeper.h index 74bdbf2..7e3e1fa 100644 --- a/src/keeper.h +++ b/src/keeper.h | |||
@@ -16,7 +16,7 @@ DECLARE_UNIQUE_TYPE(KeeperIndex, int); | |||
16 | struct Keeper | 16 | struct Keeper |
17 | { | 17 | { |
18 | std::mutex mutex; | 18 | std::mutex mutex; |
19 | KeeperState K{ nullptr }; | 19 | KeeperState K{ static_cast<lua_State*>(nullptr) }; |
20 | 20 | ||
21 | [[nodiscard]] static void* operator new[](size_t size_, Universe* U_) noexcept; | 21 | [[nodiscard]] static void* operator new[](size_t size_, Universe* U_) noexcept; |
22 | // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception | 22 | // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception |