Fixed clang-tidy warnings

This commit is contained in:
gabime 2018-09-27 01:58:39 +03:00
parent cd8e15dcd1
commit 4720b703f4
1 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,9 @@ public:
}
}
thread_pool(const thread_pool&) = delete;
thread_pool &operator=(thread_pool &&) = delete ;
void post_log(async_logger_ptr &&worker_ptr, const details::log_msg &msg, async_overflow_policy overflow_policy)
{
async_msg async_m(std::forward<async_logger_ptr>(worker_ptr), async_msg_type::log, msg);