diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index c027435..a817b79 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -476,7 +476,7 @@ parse_int_string(UC const *p, UC const *pend, T &value, int base) { UC const *const first = p; - bool negative = (*p == UC('-')); + bool const negative = (*p == UC('-')); if (!std::is_signed::value && negative) { answer.ec = std::errc::invalid_argument; answer.ptr = first;