Correct the ASSERT macro in debug mode
This commit is contained in:
parent
5317d2785d
commit
501dd60d2b
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@
|
|||
#define ASSERT(expression) \
|
||||
do { \
|
||||
if (!(expression)) \
|
||||
ASSERTFALSE \
|
||||
ASSERTFALSE; \
|
||||
} \
|
||||
while (0)
|
||||
|
||||
// Debug message
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue