mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-09-14 14:42:26 +08:00
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.
This commit is contained in:
parent
8b851d996d
commit
8351519606
@ -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 <typename UC>
|
||||
fastfloat_really_inline constexpr auto is_integer(UC c) noexcept {
|
||||
fastfloat_really_inline constexpr bool is_integer(UC c) noexcept {
|
||||
return static_cast<uint8_t>(c - UC('0')) <= 9;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user