From 9daad800a8cc86940d3eb8912cfca6cbc177e43f Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 21 Oct 2018 19:26:11 +0300 Subject: [PATCH] Fix mingw compilation --- include/spdlog/details/logger_impl.h | 2 +- include/spdlog/logger.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index 8af8177f..86eb45cb 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -71,7 +71,7 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *fmt, const Ar } SPDLOG_CATCH_AND_HANDLE } -template<> + inline void spdlog::logger::log(level::level_enum lvl, const char *msg) { if (!should_log(lvl)) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index fd428724..0cac21d4 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -45,8 +45,7 @@ public: template void log(level::level_enum lvl, const char *fmt, const Args &... args); - - template<> + void log(level::level_enum lvl, const char *msg); template