From 599981e2e6907e0c741fbfea6e59d4dfc2f351ef Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 20 Jul 2018 23:34:02 +0300 Subject: [PATCH] Fixed mingw build --- 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 d3e61505..4225b799 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 async_factory::create(logger_name, std::forward(sink_args)...); + return template 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 async_factory::create(logger_name, std::forward(sink_args)...); + return template async_factory::create(logger_name, std::forward(sink_args)...); }