diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index 041bede..f3b0619 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -203,7 +203,7 @@ from_chars(UC const *first, UC const *last, T &value, */ template FASTFLOAT_CONSTEXPR20 from_chars_result_t -from_chars_advanced(parsed_number_string_t &pns, T &value) noexcept { +from_chars_advanced(const parsed_number_string_t &pns, T &value) noexcept { static_assert(is_supported_float_type::value, "only some floating-point types are supported");