Update thread_pool.h

This commit is contained in:
Gabi Melman
2019-08-23 03:30:56 +03:00
committed by GitHub
parent 8d8aacf5e9
commit e0bf0c0301

View File

@@ -50,7 +50,6 @@ struct async_msg : log_msg_buffer
{} {}
async_msg &operator=(async_msg &&other) async_msg &operator=(async_msg &&other)
{ {
*static_cast<log_msg_buffer *>(this) = std::move(other); *static_cast<log_msg_buffer *>(this) = std::move(other);
msg_type = other.msg_type; msg_type = other.msg_type;
@@ -118,4 +117,4 @@ private:
#ifdef SPDLOG_HEADER_ONLY #ifdef SPDLOG_HEADER_ONLY
#include "thread_pool-inl.h" #include "thread_pool-inl.h"
#endif #endif