From e0bf0c0301197e79a57d42cbcd4da26284001052 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Fri, 23 Aug 2019 03:30:56 +0300 Subject: [PATCH] Update thread_pool.h --- include/spdlog/details/thread_pool.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index f02517b3..81bd12de 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -50,7 +50,6 @@ struct async_msg : log_msg_buffer {} async_msg &operator=(async_msg &&other) - { *static_cast(this) = std::move(other); msg_type = other.msg_type; @@ -118,4 +117,4 @@ private: #ifdef SPDLOG_HEADER_ONLY #include "thread_pool-inl.h" -#endif \ No newline at end of file +#endif