Unverified Commit 8e3b1338 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1918 from matt77hias/v1.x

Made mutex member variable mutable
parents c5abaedd 9d3dde09
...@@ -37,7 +37,7 @@ public: ...@@ -37,7 +37,7 @@ public:
protected: protected:
// sink formatter // sink formatter
std::unique_ptr<spdlog::formatter> formatter_; std::unique_ptr<spdlog::formatter> formatter_;
Mutex mutex_; mutable Mutex mutex_;
virtual void sink_it_(const details::log_msg &msg) = 0; virtual void sink_it_(const details::log_msg &msg) = 0;
virtual void flush_() = 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