From 572ed9e4337da76ffbd93d087d34473265e9925d Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 16 Oct 2021 20:58:57 +0300 Subject: [PATCH] Removed mutable from mutex --- include/spdlog/sinks/base_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/base_sink.h b/include/spdlog/sinks/base_sink.h index fd3beee1..0edc324f 100644 --- a/include/spdlog/sinks/base_sink.h +++ b/include/spdlog/sinks/base_sink.h @@ -36,7 +36,7 @@ public: protected: // sink formatter std::unique_ptr formatter_; - mutable Mutex mutex_; + Mutex mutex_; virtual void sink_it_(const details::log_msg &msg) = 0; virtual void flush_() = 0;