diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 149fea1..7f8885e 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -30,7 +30,7 @@ fastfloat_really_inline constexpr bool has_simd_opt() noexcept { // Next function can be micro-optimized, but compilers are entirely // able to optimize it well. template -fastfloat_really_inline constexpr auto is_integer(UC c) noexcept { +fastfloat_really_inline constexpr bool is_integer(UC c) noexcept { return static_cast(c - UC('0')) <= 9; }