Fix mingw compilation

This commit is contained in:
gabime 2018-10-21 19:26:11 +03:00
parent 8d2c956563
commit 9daad800a8
2 changed files with 2 additions and 3 deletions

View File

@ -71,7 +71,7 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *fmt, const Ar
} }
SPDLOG_CATCH_AND_HANDLE SPDLOG_CATCH_AND_HANDLE
} }
template<>
inline void spdlog::logger::log(level::level_enum lvl, const char *msg) inline void spdlog::logger::log(level::level_enum lvl, const char *msg)
{ {
if (!should_log(lvl)) if (!should_log(lvl))

View File

@ -46,7 +46,6 @@ public:
template<typename... Args> template<typename... Args>
void log(level::level_enum lvl, const char *fmt, const Args &... args); void log(level::level_enum lvl, const char *fmt, const Args &... args);
template<>
void log(level::level_enum lvl, const char *msg); void log(level::level_enum lvl, const char *msg);
template<typename... Args> template<typename... Args>