From 6104d9db2cb56ee8ae0a591f78e03f858b0864dc Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Wed, 28 Feb 2024 15:41:19 +0800 Subject: [PATCH] fix ASSERT --- include/sled/log/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sled/log/log.h b/include/sled/log/log.h index 46efac1..390b15b 100644 --- a/include/sled/log/log.h +++ b/include/sled/log/log.h @@ -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); \ } \