diff --git a/include/fmt/compile.h b/include/fmt/compile.h index 65c68a4b..f5872500 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -148,7 +148,7 @@ template struct field { template constexpr OutputIt format(OutputIt out, const Args&... args) const { const T& arg = get_arg_checked(args...); - if constexpr (std::is_convertible_v>) { + if constexpr (std::is_convertible>::value) { auto s = basic_string_view(arg); return copy(s.begin(), s.end(), out); }