diff --git a/include/fmt/core.h b/include/fmt/core.h index 46354241..e30fba86 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1563,7 +1563,7 @@ FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value { constexpr bool formattable_pointer = !std::is_same::value; #if defined(__cpp_if_constexpr) - if constexpr (not formattable_pointer) { + if constexpr (!formattable_pointer) { type_is_unformattable_for _; } #endif @@ -1572,7 +1572,7 @@ FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value { constexpr bool formattable = !std::is_same::value; #if defined(__cpp_if_constexpr) - if constexpr (not formattable) { + if constexpr (!formattable) { type_is_unformattable_for _; } #endif