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;