From 07ab87ca2b3ee6351e9dd9abd974f17d1b1aa209 Mon Sep 17 00:00:00 2001 From: IRainman Date: Wed, 12 Mar 2025 20:05:34 +0300 Subject: [PATCH] compilation fix in some cases. --- include/fast_float/ascii_number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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