diff --git a/include/spdlog/sinks/base_sink.h b/include/spdlog/sinks/base_sink.h index a0624e94..21c5545f 100644 --- a/include/spdlog/sinks/base_sink.h +++ b/include/spdlog/sinks/base_sink.h @@ -37,7 +37,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;