diff --git a/include/fmt/format.h b/include/fmt/format.h index 9cd523a9..4466b4f4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -227,7 +227,9 @@ FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) { #if defined(FMT_USE_STRING_VIEW) template using std_string_view = std::basic_string_view; #else -template struct std_string_view {}; +template struct std_string_view { + operator basic_string_view() const; +}; #endif template struct string_literal {