Skip to content

Commit

Permalink
Commented out problematic gcc-9 log(..) overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Nov 29, 2024
1 parent 30f0681 commit 850ee25
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/spdlog/spdlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ inline void log(level lvl, format_string_t<Args...> fmt, Args &&...args) {
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
}

template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
}

template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
inline void log(level lvl, S fmt, Args &&...args) {
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
}
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
// inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
// default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
// }
//
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
// inline void log(level lvl, S fmt, Args &&...args) {
// default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
// }

#ifdef SPDLOG_SOURCE_LOCATION
template <typename... Args>
Expand Down

0 comments on commit 850ee25

Please sign in to comment.