mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
removed lock from dist_sink::_flush() (moved to base_sink::flush())
This commit is contained in:
parent
a9149c6d46
commit
26b390bb19
@ -46,7 +46,6 @@ protected:
|
|||||||
|
|
||||||
void _flush() override
|
void _flush() override
|
||||||
{
|
{
|
||||||
std::lock_guard<Mutex> lock(base_sink<Mutex>::_mutex);
|
|
||||||
for (auto &sink : _sinks)
|
for (auto &sink : _sinks)
|
||||||
sink->flush();
|
sink->flush();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user