fix ASSERT

This commit is contained in:
tqcq 2024-02-28 15:41:19 +08:00
parent 8c3ab60c73
commit 6104d9db2c

View File

@ -65,7 +65,7 @@ void Log(LogLevel level,
#define SLOG_ASSERT(cond, tag, fmt, ...) \
do { \
if (!!(cond)) { \
if (!(cond)) { \
SLOG(sled::LogLevel::kFatal, tag, fmt, ##__VA_ARGS__); \
assert(cond); \
} \