Unverified Commit 6aafa89d authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #2140 from sunlong169/v1.x

No need to define the Mutex mutex_ as mutable there is no const method.
parents 8826011c acbf18d0
......@@ -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