diff options
Diffstat (limited to '')
-rw-r--r-- | src/keeper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keeper.cpp b/src/keeper.cpp index dcfb431..2f8817c 100644 --- a/src/keeper.cpp +++ b/src/keeper.cpp | |||
@@ -61,7 +61,7 @@ class keeper_fifo | |||
61 | [[nodiscard]] static void* operator new([[maybe_unused]] size_t size_, KeeperState L_) noexcept { return lua_newuserdatauv<keeper_fifo>(L_, 1); } | 61 | [[nodiscard]] static void* operator new([[maybe_unused]] size_t size_, KeeperState L_) noexcept { return lua_newuserdatauv<keeper_fifo>(L_, 1); } |
62 | // always embedded somewhere else or "in-place constructed" as a full userdata | 62 | // always embedded somewhere else or "in-place constructed" as a full userdata |
63 | // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception | 63 | // can't actually delete the operator because the compiler generates stack unwinding code that could call it in case of exception |
64 | static void operator delete([[maybe_unused]] void* p_, KeeperState L_) { LUA_ASSERT(L_, !"should never be called"); } | 64 | static void operator delete([[maybe_unused]] void* p_, [[maybe_unused]] KeeperState L_) { LUA_ASSERT(L_, !"should never be called"); } |
65 | 65 | ||
66 | [[nodiscard]] static keeper_fifo* getPtr(lua_State* L_, int idx_) | 66 | [[nodiscard]] static keeper_fifo* getPtr(lua_State* L_, int idx_) |
67 | { | 67 | { |