diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h index 30dd9a60afc..f3f6051350c 100644 --- a/src/corelib/global/qfloat16.h +++ b/src/corelib/global/qfloat16.h @@ -53,18 +53,8 @@ class qfloat16 constexpr inline explicit Wrap(int value) : b16(quint16(value)) {} }; -#ifdef QT_SUPPORTS_INT128 template - using IsIntegral = std::disjunction, - std::is_same, qint128>, - std::is_same, quint128>>; -#else - template - using IsIntegral = std::is_integral; -#endif - template - using if_type_is_integral = std::enable_if_t>::value, - bool>; + using if_type_is_integral = std::enable_if_t>, bool>; public: using NativeType = QtPrivate::NativeFloat16Type;