Fixed bench

This commit is contained in:
gabime 2019-08-27 02:02:35 +03:00
parent 11e9752536
commit 79334ca5ab

View File

@ -116,7 +116,7 @@ int main(int argc, char *argv[])
auto file_sink = std::make_shared<spdlog::sinks::basic_file_sink_mt>(filename, true); auto file_sink = std::make_shared<spdlog::sinks::basic_file_sink_mt>(filename, true);
auto logger = std::make_shared<async_logger>("async_logger", std::move(file_sink), std::move(tp), async_overflow_policy::block); auto logger = std::make_shared<async_logger>("async_logger", std::move(file_sink), std::move(tp), async_overflow_policy::block);
bench_mt(howmany, std::move(logger), threads); bench_mt(howmany, std::move(logger), threads);
verify_file(filename, howmany); //verify_file(filename, howmany);
} }
spdlog::info(""); spdlog::info("");