more const

This commit is contained in:
IRainman 2025-03-06 19:43:47 +03:00
parent e35e7c7040
commit 28795646ab

View File

@ -203,7 +203,7 @@ from_chars(UC const *first, UC const *last, T &value,
*/
template <typename T, typename UC>
FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC>
from_chars_advanced(parsed_number_string_t<UC> &pns, T &value) noexcept {
from_chars_advanced(const parsed_number_string_t<UC> &pns, T &value) noexcept {
static_assert(is_supported_float_type<T>::value,
"only some floating-point types are supported");