call flush_() instead of flush() from looger::sink_it_()

This commit is contained in:
Gabi Melman 2018-11-24 11:11:03 +02:00 committed by GitHub
parent 2998815166
commit 1293af093c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -390,7 +390,7 @@ inline void spdlog::logger::sink_it_(details::log_msg &msg)
if (should_flush_(msg))
{
flush();
flush_();
}
}