diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index cfbb2b78..1cd11315 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -85,7 +85,7 @@ struct async_msg { } - async_msg(async_msg_type the_type) + explicit async_msg(async_msg_type the_type) : async_msg(nullptr, the_type, details::log_msg()) { }