From 4720b703f438dcbbb24d8e9daa0c3722b2dbe1ff Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 27 Sep 2018 01:58:39 +0300 Subject: [PATCH] Fixed clang-tidy warnings --- include/spdlog/details/thread_pool.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index 09d8d71c..965178fb 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -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(worker_ptr), async_msg_type::log, msg);