mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-04-09 21:54:09 +08:00
fix: macro expansion error in release builds
This commit is contained in:
@@ -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 { \
|
||||
|
||||
Reference in New Issue
Block a user