fix: macro expansion error in release builds

This commit is contained in:
2026-03-12 15:47:39 +08:00
parent e1ceca109f
commit b4f41e9e69

View File

@@ -18,7 +18,7 @@ namespace Assert {
#ifdef NDEBUG
#define CUBED_ASSERT(cond) ((void)0)
#define CUBED_ASSERT_MSG(cond) ((void)0)
#define CUBED_ASSERT_MSG(cond, message) ((void)0)
#else
#define CUBED_ASSERT(cond) \
do { \