mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Merge pull request #2140 from sunlong169/v1.x
No need to define the Mutex mutex_ as mutable there is no const method.
This commit is contained in:
commit
6aafa89d20
@ -37,7 +37,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// sink formatter
|
// sink formatter
|
||||||
std::unique_ptr<spdlog::formatter> formatter_;
|
std::unique_ptr<spdlog::formatter> formatter_;
|
||||||
mutable Mutex mutex_;
|
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