diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h index 77d0b1fb..f9cf0e78 100644 --- a/include/spdlog/details/thread_pool-inl.h +++ b/include/spdlog/details/thread_pool-inl.h @@ -98,24 +98,20 @@ bool SPDLOG_INLINE thread_pool::process_next_msg_() switch (incoming_async_msg.msg_type) { - case async_msg_type::log: - { + case async_msg_type::log: { incoming_async_msg.worker_ptr->backend_sink_it_(incoming_async_msg); return true; } - case async_msg_type::flush: - { + case async_msg_type::flush: { incoming_async_msg.worker_ptr->backend_flush_(); return true; } - case async_msg_type::terminate: - { + case async_msg_type::terminate: { return false; } - default: - { + default: { assert(false && "Unexpected async_msg_type"); } } diff --git a/tests/test_macros.cpp b/tests/test_macros.cpp index b18c1cbf..4c621bb3 100644 --- a/tests/test_macros.cpp +++ b/tests/test_macros.cpp @@ -49,7 +49,7 @@ TEST_CASE("pass logger pointer", "[macros]") } // ensure that even if right macro level is on- don't evaluate if the logger's level is not high enough -//TEST_CASE("disable param evaluation2", "[macros]") +// TEST_CASE("disable param evaluation2", "[macros]") //{ // auto logger = std::make_shared("test-macro"); // logger->set_level(spdlog::level::off);