diff options
Diffstat (limited to 'src/qml/common/qjsnumbercoercion.h')
-rw-r--r-- | src/qml/common/qjsnumbercoercion.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/common/qjsnumbercoercion.h b/src/qml/common/qjsnumbercoercion.h index 53d587676d..569976454f 100644 --- a/src/qml/common/qjsnumbercoercion.h +++ b/src/qml/common/qjsnumbercoercion.h @@ -13,9 +13,6 @@ class QJSNumberCoercion { public: -#if QT_DEPRECATED_SINCE(6, 7) - - QT_DEPRECATED_VERSION_6_7 static constexpr bool isInteger(double d) { // Comparing d with itself checks for NaN and comparing d with the min and max values @@ -28,8 +25,6 @@ public: return equals(static_cast<int>(d), d); } -#endif - static constexpr bool isArrayIndex(double d) { if (d < 0 || !equals(d, d) || d > (std::numeric_limits<int>::max)()) { |