removed lock from dist_sink::_flush() (moved to base_sink::flush())

This commit is contained in:
gabime 2017-12-02 17:24:02 +02:00
parent a9149c6d46
commit 26b390bb19

View File

@ -46,7 +46,6 @@ protected:
void _flush() override
{
std::lock_guard<Mutex> lock(base_sink<Mutex>::_mutex);
for (auto &sink : _sinks)
sink->flush();
}