diff --git a/include/spdlog/async.h b/include/spdlog/async.h index b41dc3ab..a9f03ad0 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -62,7 +62,7 @@ inline std::shared_ptr create_async(std::string logger_name, Sin } template -inline std::shared_ptr create_async_nb(std::string logger_name, SinkArgs &&...sink_args) { +std::shared_ptr create_async_nb(std::string logger_name, SinkArgs &&...sink_args) { return async_factory_nonblock::create(std::move(logger_name), std::forward(sink_args)...); }