From 9fd3d5dc3f51a060533fc3614bc519505089c8ce Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 8 Nov 2022 13:21:09 -1000 Subject: [PATCH] refactor: bad interface fixed --- src/core-fmt/include/units/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);