Fixes for AssertNotNull
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-22 11:41:55 +01:00
parent 657767536f
commit 07f215a4fa
2 changed files with 4 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
#ifndef NO_ASSERT
#define Assert(expr) \
{ \
if (!expr) { \
if (!(expr)) { \
std::stringstream ss; \
ss << "ASSERTION FAILED: [" << __FILENAME__ << " (" << __LINE__ << ")] \""; \
ss << #expr << "\""; \