mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 17:52:05 +08:00
Commented out problematic gcc-9 log(..) overrides
This commit is contained in:
parent
30f0681ab4
commit
850ee25648
@ -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)...);
|
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
|
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
|
||||||
inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
|
// inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
|
||||||
default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
|
// default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
|
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
|
||||||
inline void log(level lvl, S fmt, Args &&...args) {
|
// inline void log(level lvl, S fmt, Args &&...args) {
|
||||||
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
|
// default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
|
||||||
}
|
// }
|
||||||
|
|
||||||
#ifdef SPDLOG_SOURCE_LOCATION
|
#ifdef SPDLOG_SOURCE_LOCATION
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
|
Loading…
Reference in New Issue
Block a user