diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 89a311d..86b0982 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -263,6 +263,8 @@ template struct parsed_number_string_t { // an unsigned int avoids signed overflows (which are bad) uint64_t mantissa{0}; int16_t exponent{0}; + UC const *lastmatch{nullptr}; + parse_error error{parse_error::no_error}; #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN bool negative{false}; #endif @@ -271,8 +273,6 @@ template struct parsed_number_string_t { // contains the range of the significant digits span integer{}; // non-nullable span fraction{}; // nullable - UC const *lastmatch{nullptr}; - parse_error error{parse_error::no_error}; }; using byte_span = span;