diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index fe34151a9bee..77089f36a4c0 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -367,9 +367,9 @@ struct formatter< #endif >> { - using const_range = detail::maybe_const_range; + using range_type = detail::maybe_const_range; using formatter_type = - detail::range_formatter_type>; + detail::range_formatter_type>; formatter_type underlying_; bool custom_specs_ = false; @@ -389,7 +389,7 @@ struct formatter< } template - auto format(const_range& range, FormatContext& ctx) const + auto format(range_type& range, FormatContext& ctx) const -> decltype(ctx.out()) { #ifdef FMT_DEPRECATED_BRACED_RANGES Char prefix = '{';