mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-04-10 06:14:07 +08:00
fix: macro expansion error in release builds
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Assert {
|
|||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#define CUBED_ASSERT(cond) ((void)0)
|
#define CUBED_ASSERT(cond) ((void)0)
|
||||||
#define CUBED_ASSERT_MSG(cond) ((void)0)
|
#define CUBED_ASSERT_MSG(cond, message) ((void)0)
|
||||||
#else
|
#else
|
||||||
#define CUBED_ASSERT(cond) \
|
#define CUBED_ASSERT(cond) \
|
||||||
do { \
|
do { \
|
||||||
|
|||||||
Reference in New Issue
Block a user