From e61eadc890b361b53133b5753502b1276b9dfb12 Mon Sep 17 00:00:00 2001 From: eric bryant Date: Fri, 31 May 2024 10:04:41 -0400 Subject: [PATCH] is_convertible_v -> is_convertible::value --- 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 65c68a4b755b..f587250029fa 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); }