From 8351519606bf916c19396a2474ec18b9866e10a9 Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Fri, 21 Aug 2026 16:33:16 +0300 Subject: [PATCH] compilation fix for ancient standard. May be better to drop support for C++11, because C++14 is the fixed version of big C++11 changes. --- 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 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; }