diff --git a/include/spdlog/async.h b/include/spdlog/async.h index a9f03ad0..fbecff47 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -57,7 +57,7 @@ using async_factory = async_factory_impl; using async_factory_nonblock = async_factory_impl; template -inline std::shared_ptr create_async(std::string logger_name, SinkArgs &&...sink_args) { +std::shared_ptr create_async(std::string logger_name, SinkArgs &&...sink_args) { return async_factory::create(std::move(logger_name), std::forward(sink_args)...); }