* const fixes for merged code.

This commit is contained in:
IRainman 2026-07-05 22:13:55 +03:00
parent 72d3f6c1de
commit fa48089012
2 changed files with 2 additions and 3 deletions

View File

@ -656,7 +656,6 @@ parse_int_string(UC const *p, UC const *pend, T &value,
if (len >= sizeof(uint32_t)) {
digits = read_chars_to_unsigned<uint32_t>(p);
} else {
uint32_t const b0 = static_cast<uint8_t>(p[0]);
uint32_t const b1 = (len > 1) ? static_cast<uint8_t>(p[1]) : 0x00u;

View File

@ -334,7 +334,7 @@ parse_number_slow_path(UC const *first, UC const *last, T &value,
bool bjf
#endif
) noexcept {
parsed_number_string_t<UC> pns =
parsed_number_string_t<UC> const pns =
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
bjf ? parse_number_string<true, UC>(first, last, options, true) :
#endif
@ -378,7 +378,7 @@ from_chars_float_advanced(UC const *first, UC const *last, T &value,
// only by the rare slow paths). Skipping their stores keeps the fat
// parsed_number_string_t off the hot path. store_spans is a runtime argument,
// so this reuses the single parse_number_string instantiation.
parsed_number_string_t<UC> pns =
parsed_number_string_t<UC> const pns =
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
bjf ? parse_number_string<true, UC>(first, last, options, false) :
#endif