mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 11:17:35 +02:00
Workaround a compilation error on gcc 9.4
This commit is contained in:
@ -227,7 +227,9 @@ FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
|
|||||||
#if defined(FMT_USE_STRING_VIEW)
|
#if defined(FMT_USE_STRING_VIEW)
|
||||||
template <typename Char> using std_string_view = std::basic_string_view<Char>;
|
template <typename Char> using std_string_view = std::basic_string_view<Char>;
|
||||||
#else
|
#else
|
||||||
template <typename T> struct std_string_view {};
|
template <typename Char> struct std_string_view {
|
||||||
|
operator basic_string_view<Char>() const;
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <typename Char, Char... C> struct string_literal {
|
template <typename Char, Char... C> struct string_literal {
|
||||||
|
Reference in New Issue
Block a user