Fixed clang-tidy warning

This commit is contained in:
gabime 2018-10-05 15:19:03 +03:00
parent 1808e3c4c8
commit 887a104dd0

View File

@ -32,7 +32,9 @@ protected:
sink::formatter_->format(msg, formatted); sink::formatter_->format(msg, formatted);
ostream_.write(formatted.data(), static_cast<std::streamsize>(formatted.size())); ostream_.write(formatted.data(), static_cast<std::streamsize>(formatted.size()));
if (force_flush_) if (force_flush_)
{
ostream_.flush(); ostream_.flush();
}
} }
void flush_() override void flush_() override