Skip to content

Commit 9d2217d

Browse files
committed
small fix
1 parent 2dd43ec commit 9d2217d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/ascii_number.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ parse_int_string(UC const *p, UC const *pend, T &value,
679679
uint32_t mask = 0xFFFFFFFFu >> ((4u - nd) * 8u);
680680
uint32_t padded = (digits & mask) | (~mask & 0x30303030u);
681681
uint32_t v = parse_four_digits_unrolled(padded);
682-
static constexpr uint32_t divs[] = {0, 1000, 100, 10};
682+
constexpr uint32_t divs[] = {0, 1000, 100, 10};
683683
value = (uint16_t)(v / divs[nd]);
684684
answer.ec = std::errc();
685685
answer.ptr = p + nd;

0 commit comments

Comments
 (0)