aboutsummaryrefslogtreecommitdiff
path: root/src/debug.hpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 12:27:02 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 12:27:02 +0100
commit05e4cce366cccf92ad88f80695efa548fae187de (patch)
tree3332753154ecd89a87d7fdd6a4f9383d1b66ed1f /src/debug.hpp
parent59ae58fd31d63c261372bd5a36765328583bc1b6 (diff)
downloadlanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.gz
lanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.bz2
lanes-05e4cce366cccf92ad88f80695efa548fae187de.zip
Minor internal code tweaks
* mark all eligible classes Final * new TableIndex strong type * buildfixes for HAVE_DEBUGSPEW() * overridden virtual destructors tagged as such
Diffstat (limited to 'src/debug.hpp')
-rw-r--r--src/debug.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.hpp b/src/debug.hpp
index 39d106a..66541c0 100644
--- a/src/debug.hpp
+++ b/src/debug.hpp
@@ -30,7 +30,7 @@ inline void LUA_ASSERT_IMPL(lua_State* const L_, bool const cond_, std::string_v
30#define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, (cond_) ? true : false, #cond_) 30#define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, (cond_) ? true : false, #cond_)
31#define LUA_ASSERT_CODE(code_) code_ 31#define LUA_ASSERT_CODE(code_) code_
32 32
33class StackChecker 33class StackChecker final
34{ 34{
35 private: 35 private:
36 lua_State* const L; 36 lua_State* const L;