From b85662c536a8b347c3528f3df59c42fce151add4 Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 5 Nov 2015 15:43:37 +0200 Subject: [PATCH] fixed issue #137 --- include/spdlog/details/spdlog_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/spdlog_impl.h b/include/spdlog/details/spdlog_impl.h index cfd6f826..07e41145 100644 --- a/include/spdlog/details/spdlog_impl.h +++ b/include/spdlog/details/spdlog_impl.h @@ -108,7 +108,7 @@ inline std::shared_ptr spdlog::create(const std::string& logger_ template -inline std::shared_ptr spdlog::create(const std::string& logger_name, const Args&... args) +inline std::shared_ptr spdlog::create(const std::string& logger_name, Args&... args) { sink_ptr sink = std::make_shared(args...); return details::registry::instance().create(logger_name, { sink });