diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index dcaffca..c995069 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -513,7 +513,7 @@ parse_int_string(UC const *p, UC const *pend, T &value, return answer; } if ((*p == UC('-')) || - (uint64_t(options.fmt & chars_format::allow_leading_plus) && (*p == UC('+')))) { + (uint64_t(options.format & chars_format::allow_leading_plus) && (*p == UC('+')))) { ++p; } #endif