diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 25e5383e..64aad572 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -74,7 +74,8 @@ public: void swap(spdlog::logger &other) SPDLOG_NOEXCEPT; // FormatString is a type derived from fmt::compile_string - template::value, int>::type = 0, typename... Args> + template::value, int>::type * = nullptr, + typename... Args> void log(source_loc loc, level::level_enum lvl, const FormatString &fmt, const Args &... args) { log_(loc, lvl, fmt, args...);