From 6c830e629ef332826264b72d7b0ead6642471cc7 Mon Sep 17 00:00:00 2001 From: Yuriy Chernyshov Date: Tue, 1 Dec 2020 17:06:41 +0300 Subject: [PATCH] Use feature testing macro once more --- src/Core/Field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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