Unverified Commit acbf18d0 authored by sunlong169's avatar sunlong169 Committed by GitHub

No need to define the Mutex mutex_ as mutable there is no const method.

There's no need to define the Mutex mutex_ as mutable since class base_sink has no const method.
parent 8826011c
......@@ -37,7 +37,7 @@ public:
protected:
// sink formatter
std::unique_ptr<spdlog::formatter> formatter_;
mutable Mutex mutex_;
Mutex mutex_;
virtual void sink_it_(const details::log_msg &msg) = 0;
virtual void flush_() = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment