From 850ee25648bf721f784f23c4d0602db0ec584404 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 29 Nov 2024 10:18:07 +0200 Subject: [PATCH] Commented out problematic gcc-9 log(..) overrides --- include/spdlog/spdlog.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 76e288654..6e1002640 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -143,15 +143,15 @@ inline void log(level lvl, format_string_t fmt, Args &&...args) { default_logger_raw()->log(lvl, fmt, std::forward(args)...); } -template , typename... Args> -inline void log(source_loc loc, level lvl, S fmt, Args &&...args) { - default_logger_raw()->log(loc, lvl, fmt, std::forward(args)...); -} - -template , typename... Args> -inline void log(level lvl, S fmt, Args &&...args) { - default_logger_raw()->log(lvl, fmt, std::forward(args)...); -} +// template , typename... Args> +// inline void log(source_loc loc, level lvl, S fmt, Args &&...args) { +// default_logger_raw()->log(loc, lvl, fmt, std::forward(args)...); +// } +// +// template , typename... Args> +// inline void log(level lvl, S fmt, Args &&...args) { +// default_logger_raw()->log(lvl, fmt, std::forward(args)...); +// } #ifdef SPDLOG_SOURCE_LOCATION template