mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-01-01 03:12:18 +08:00
fix macro
Signed-off-by: Shikhar <shikharish05@gmail.com>
This commit is contained in:
parent
fdb0eddf99
commit
780c341359
@ -509,7 +509,7 @@ parse_int_string(UC const *p, UC const *pend, T &value,
|
||||
|
||||
UC const *const start_digits = p;
|
||||
|
||||
FASTFLOAT_IF_CONSTEXPR17(std::is_same<T, std::uint8_t>::value) {
|
||||
FASTFLOAT_IF_CONSTEXPR17((std::is_same<T, std::uint8_t>::value)) {
|
||||
const size_t len = (size_t)(pend - p);
|
||||
if (len == 0) {
|
||||
if (has_leading_zeros) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user