fix ASSERT
This commit is contained in:
parent
8c3ab60c73
commit
6104d9db2c
@ -65,7 +65,7 @@ void Log(LogLevel level,
|
|||||||
|
|
||||||
#define SLOG_ASSERT(cond, tag, fmt, ...) \
|
#define SLOG_ASSERT(cond, tag, fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
if (!!(cond)) { \
|
if (!(cond)) { \
|
||||||
SLOG(sled::LogLevel::kFatal, tag, fmt, ##__VA_ARGS__); \
|
SLOG(sled::LogLevel::kFatal, tag, fmt, ##__VA_ARGS__); \
|
||||||
assert(cond); \
|
assert(cond); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user