Fix format string errors assertions into soft checks
This commit is contained in:
2
Source/ThirdParty/fmt/core.h
vendored
2
Source/ThirdParty/fmt/core.h
vendored
@@ -22,7 +22,7 @@
|
|||||||
#define FMT_ASSERT(condition, message) \
|
#define FMT_ASSERT(condition, message) \
|
||||||
if (!(condition)) \
|
if (!(condition)) \
|
||||||
{ \
|
{ \
|
||||||
Platform::Assert(message, __FILE__, __LINE__); \
|
Platform::CheckFailed(message, __FILE__, __LINE__); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define FMT_ASSERT(condition, message) ((void)0)
|
#define FMT_ASSERT(condition, message) ((void)0)
|
||||||
|
|||||||
Reference in New Issue
Block a user