diff --git a/src/core-fmt/include/units/format.h b/src/core-fmt/include/units/format.h index 5447ff47..a4ffe7e7 100644 --- a/src/core-fmt/include/units/format.h +++ b/src/core-fmt/include/units/format.h @@ -79,7 +79,7 @@ struct quantity_format_specs { // Parse a `units-rep-modifier` template S, typename Handler> -constexpr const It parse_units_rep(It begin, S end, Handler&& handler, bool treat_as_floating_point) +constexpr It parse_units_rep(It begin, S end, Handler&& handler, bool treat_as_floating_point) { // parse sign begin = parse_sign(begin, end, handler);