Update thread_pool.h

This commit is contained in:
Gabi Melman 2018-05-25 18:44:43 +03:00 committed by GitHub
parent a23eb3769a
commit 16376c18aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ namespace spdlog {
void post_flush(async_logger_ptr &&worker_ptr, async_overflow_policy overflow_policy)
{
post_async_msg(async_msg(std::forward<async_logger_ptr>(worker_ptr), async_msg_type::flush), overflow_policy);
post_async_msg(async_msg(std::move(worker_ptr), async_msg_type::flush), overflow_policy);
}
size_t msg_counter()