From 4f1ce9189f6ef4b1b96fe017c56c24c5513f8514 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 7 Jul 2018 16:40:29 +0300 Subject: [PATCH] Fixed issue #747 --- include/spdlog/details/logger_impl.h | 12 ++++++------ include/spdlog/logger.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index 75ce7c6c..9b9b467f 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -100,37 +100,37 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg) SPDLOG_CATCH_AND_HANDLE } -template +template inline void spdlog::logger::trace(const char *fmt, const Args &... args) { log(level::trace, fmt, args...); } -template +template inline void spdlog::logger::debug(const char *fmt, const Args &... args) { log(level::debug, fmt, args...); } -template +template inline void spdlog::logger::info(const char *fmt, const Args &... args) { log(level::info, fmt, args...); } -template +template inline void spdlog::logger::warn(const char *fmt, const Args &... args) { log(level::warn, fmt, args...); } -template +template inline void spdlog::logger::error(const char *fmt, const Args &... args) { log(level::err, fmt, args...); } -template +template inline void spdlog::logger::critical(const char *fmt, const Args &... args) { log(level::critical, fmt, args...); diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 6828312e..372d8314 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -45,22 +45,22 @@ public: template void log(level::level_enum lvl, const char *msg); - template + template void trace(const char *fmt, const Args &... args); - template + template void debug(const char *fmt, const Args &... args); - template + template void info(const char *fmt, const Args &... args); - template + template void warn(const char *fmt, const Args &... args); - template + template void error(const char *fmt, const Args &... args); - template + template void critical(const char *fmt, const Args &... args); #ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT