CustomAssert: fix macro in release being borked

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 9f52ab2e54
commit 981b56b846
1 file changed
+4 -4
+4 -4
View File
@@ -63,14 +63,14 @@ inline void _assert([[maybe_unused]] const char* file, [[maybe_unused]] const ch
do { \
if (!result) { \
Sentry.LogAssert(#cond, _file_basename, _line, __func__); \
}
}
while (false)
} \
} while (false)
#define AssertNotReachable() \
do { \
if (!result) { \
Sentry.LogAssert("code is unreachable", _file_basename, _line, __func__); \
}
} \
} while (false)
}
while (false)
#endif // DEBUG