mirror of
https://github.com/fmtlib/fmt.git
synced 2026-01-01 03:12:22 +08:00
Workaround a compilation error on gcc 9.4
This commit is contained in:
parent
898d438571
commit
5f0572acdc
@ -227,7 +227,9 @@ FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
|
||||
#if defined(FMT_USE_STRING_VIEW)
|
||||
template <typename Char> using std_string_view = std::basic_string_view<Char>;
|
||||
#else
|
||||
template <typename T> struct std_string_view {};
|
||||
template <typename Char> struct std_string_view {
|
||||
operator basic_string_view<Char>() const;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename Char, Char... C> struct string_literal {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user