From a07e0c005024871025cc478374789f0fb163d51c Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 6 Dec 2024 14:25:48 +0200 Subject: [PATCH] context in async factory --- include/spdlog/async.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/spdlog/async.h b/include/spdlog/async.h index dbd9d073..8dcb5462 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -24,7 +24,6 @@ #include "spdlog.h" namespace spdlog { - namespace details { static constexpr size_t default_async_q_size = 8192; } @@ -45,7 +44,6 @@ struct async_factory_impl { tp = std::make_shared(details::default_async_q_size, 1U); context->set_tp(tp); } - auto sink = std::make_shared(std::forward(args)...); auto new_logger = std::make_shared(std::move(logger_name), std::move(sink), std::move(tp), OverflowPolicy); return new_logger;