diff --git a/include/fmt/core.h b/include/fmt/core.h index 802fcd54..2856a43e 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -538,8 +538,7 @@ constexpr auto to_string_view(const S& s) } // Catch basic_format_string for any char type. template ::value)> -constexpr auto to_string_view(const S& s) - -> decltype(s.get()) { +constexpr auto to_string_view(const S& s) -> decltype(s.get()) { return s.get(); } void to_string_view(...);