mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-30 09:14:06 +08:00
Make mutex member mutable
This commit is contained in:
parent
d6389d696e
commit
c77f2e55c9
@ -36,7 +36,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;
|
||||||
|
Loading…
Reference in New Issue
Block a user