From deb5a275496d50e646a0c1e90a63ca55158c97b9 Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Thu, 3 Mar 2022 15:38:47 -0600 Subject: [PATCH] Renaming const_range to range_type. --- include/fmt/ranges.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index fe34151a9bee9..77089f36a4c06 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 = '{';