From 04d4da3e172c83287c0c27a39d659208f2c1652f Mon Sep 17 00:00:00 2001 From: linianlin Date: Sat, 16 May 2026 13:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/logger.hpp b/include/logger.hpp index 23aceed..8009c23 100644 --- a/include/logger.hpp +++ b/include/logger.hpp @@ -62,7 +62,7 @@ public: private: LogLevel level_; - std::mutex mutex_; + mutable std::mutex mutex_; /// @brief Convert a LogLevel to its string representation. static std::string levelToString(LogLevel level);