Fix format string errors assertions into soft checks

(cherry picked from commit c01e5efe43)
This commit is contained in:
Wojtek Figat
2021-04-27 10:57:07 +02:00
parent 35f06bbf6e
commit 59af92bfc4

View File

@@ -22,7 +22,7 @@
#define FMT_ASSERT(condition, message) \
if (!(condition)) \
{ \
Platform::Assert(message, __FILE__, __LINE__); \
Platform::CheckFailed(message, __FILE__, __LINE__); \
}
#else
#define FMT_ASSERT(condition, message) ((void)0)