Skip to content

Commit a7a783c

Browse files
committed
# compilation fix after renaming
1 parent 79ef210 commit a7a783c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/fast_float/ascii_number.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ loop_parse_if_eight_digits(char const *&p, char const *const pend,
251251
// identical either way. Gated to clang: on gcc the extra 4-digit check
252252
// regresses inputs whose remainder is shorter than 4 digits (it becomes pure
253253
// overhead there); clang does not show that.
254-
#if defined(__clang__)
254+
#if 1 // defined(__clang__)
255255
if ((pend - p) >= 4) {
256-
uint32_t const val4 = read4_to_u32(p);
256+
auto const val4 = read_chars_to_unsigned<uint32_t>(p);
257257
if (is_made_of_four_digits_fast(val4)) {
258258
i = i * 10000 +
259259
parse_four_digits_unrolled(val4); // may overflow, that's ok

0 commit comments

Comments
 (0)