From fbfe2460758439c2541b02d676d939244f8ecb5b Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 6 Dec 2024 14:24:28 +0200 Subject: [PATCH] context in async factory --- include/spdlog/async.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/async.h b/include/spdlog/async.h index 250f4cdc..dbd9d073 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -26,7 +26,7 @@ namespace spdlog { namespace details { -static const size_t default_async_q_size = 8192; +static constexpr size_t default_async_q_size = 8192; } // async logger factory - creates async loggers backed with thread pool.