From fcd3e1e19c8d2df94bb6cb40d7f1c97a9872cf2b Mon Sep 17 00:00:00 2001 From: Eric Bryant Date: Fri, 31 May 2024 13:02:59 -0400 Subject: [PATCH] is_convertible_v -> is_convertible::value (#3983) --- include/fmt/compile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }