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