From 0c07df70057ab1d0ea85b447d6d3fc2026b928eb Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 20 Jul 2018 23:58:21 +0300 Subject: [PATCH] Fixed async factory --- include/spdlog/async.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/async.h b/include/spdlog/async.h index 4225b799..b666b5ee 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -54,13 +54,13 @@ using async_factory_nonblock = async_factory_impl < async_overflow_policy::overr template inline std::shared_ptr create_async(const std::string &logger_name, SinkArgs &&... sink_args) { - return template async_factory::create(logger_name, std::forward(sink_args)...); + return async_factory::create(logger_name, std::forward(sink_args)...); } template inline std::shared_ptr create_async_nb(const std::string &logger_name, SinkArgs &&... sink_args) { - return template async_factory::create(logger_name, std::forward(sink_args)...); + return async_factory_nonblock::create(logger_name, std::forward(sink_args)...); }