diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 0010f49e..e138ff55 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -392,7 +392,7 @@ using maybe_const_range = conditional_t::value, const R, R>; template -struct is_not_recursive_range : std::bool_constant< +struct is_not_recursive_range : bool_constant< !std::is_same, R>::value> {}; template