From ce5c1c24cfc1748675aea8537beb237349edeae1 Mon Sep 17 00:00:00 2001 From: gabime Date: Wed, 25 Jul 2018 00:33:11 +0300 Subject: [PATCH] added explicit kw to ctor --- include/spdlog/details/thread_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { }