diff --git a/src/core-fmt/include/units/format.h b/src/core-fmt/include/units/format.h index f90d697b..242ab325 100644 --- a/src/core-fmt/include/units/format.h +++ b/src/core-fmt/include/units/format.h @@ -305,7 +305,7 @@ template struct STD_FMT::formatter, CharT> { private: using quantity = units::quantity; - using const_iterator = TYPENAME STD_FMT::basic_format_parse_context::const_iterator; + using iterator = TYPENAME STD_FMT::basic_format_parse_context::iterator; bool quantity_value = false; bool quantity_unit = false; @@ -373,7 +373,7 @@ private: } }; - [[nodiscard]] constexpr std::pair do_parse(STD_FMT::basic_format_parse_context& ctx) + [[nodiscard]] constexpr std::pair do_parse(STD_FMT::basic_format_parse_context& ctx) { auto begin = ctx.begin(); auto end = ctx.end();