diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-15 18:31:15 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-15 18:31:15 +0200 |
commit | 7d94b18dcc41ccdcb5c8e9cff658b7c2a84b283f (patch) | |
tree | 871e17b3e56a44c6a244ef4f6776c53b8d3e51d3 /src/debug.h | |
parent | ef3b67814a071b09c5959eb293f016a3095328aa (diff) | |
download | lanes-7d94b18dcc41ccdcb5c8e9cff658b7c2a84b283f.tar.gz lanes-7d94b18dcc41ccdcb5c8e9cff658b7c2a84b283f.tar.bz2 lanes-7d94b18dcc41ccdcb5c8e9cff658b7c2a84b283f.zip |
Fix incorrect int-bool conversions
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index b9a82f1..9b7137b 100644 --- a/src/debug.h +++ b/src/debug.h | |||
@@ -26,7 +26,7 @@ inline void LUA_ASSERT_IMPL(lua_State* const L_, bool const cond_, std::string_v | |||
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 | ||
29 | #define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, cond_, #cond_) | 29 | #define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, (cond_) ? true : false, #cond_) |
30 | #define LUA_ASSERT_CODE(code_) code_ | 30 | #define LUA_ASSERT_CODE(code_) code_ |
31 | 31 | ||
32 | class StackChecker | 32 | class StackChecker |