diff --git a/src/Core/Field.h b/src/Core/Field.h index 66e4f0ac8db..edfd6bdb317 100644 --- a/src/Core/Field.h +++ b/src/Core/Field.h @@ -165,7 +165,7 @@ private: template <> struct NearestFieldTypeImpl { using Type = std::conditional_t, Int64, UInt64>; }; template <> struct NearestFieldTypeImpl { using Type = Int64; }; template <> struct NearestFieldTypeImpl { using Type = UInt64; }; -#if __cplusplus > 201703L +#ifdef __cpp_char8_t template <> struct NearestFieldTypeImpl { using Type = UInt64; }; #endif