diff --git a/src/corelib/serialization/qcborarray.h b/src/corelib/serialization/qcborarray.h index 98f409958a..4e9f7cf9b5 100644 --- a/src/corelib/serialization/qcborarray.h +++ b/src/corelib/serialization/qcborarray.h @@ -207,7 +207,7 @@ public: bool contains(const QCborValue &value) const; int compare(const QCborArray &other) const noexcept Q_DECL_PURE_FUNCTION; -#if QT_HAS_INCLUDE() +#if 0 && QT_HAS_INCLUDE() std::strong_ordering operator<=>(const QCborArray &other) const { int c = compare(other); diff --git a/src/corelib/serialization/qcbormap.h b/src/corelib/serialization/qcbormap.h index 02c2ec086d..2e9422cf94 100644 --- a/src/corelib/serialization/qcbormap.h +++ b/src/corelib/serialization/qcbormap.h @@ -233,7 +233,7 @@ public: { const_iterator it = find(key); return it != end(); } int compare(const QCborMap &other) const noexcept Q_DECL_PURE_FUNCTION; -#if QT_HAS_INCLUDE() +#if 0 && QT_HAS_INCLUDE() std::strong_ordering operator<=>(const QCborMap &other) const { int c = compare(other); diff --git a/src/corelib/serialization/qcborvalue.h b/src/corelib/serialization/qcborvalue.h index d44c7fbae7..f0bfa23392 100644 --- a/src/corelib/serialization/qcborvalue.h +++ b/src/corelib/serialization/qcborvalue.h @@ -57,7 +57,7 @@ # undef False #endif -#if QT_HAS_INCLUDE() +#if 0 && QT_HAS_INCLUDE() # include #endif @@ -252,7 +252,7 @@ public: const QCborValue operator[](qint64 key) const; int compare(const QCborValue &other) const; -#if QT_HAS_INCLUDE() +#if 0 && QT_HAS_INCLUDE() std::strong_ordering operator<=>(const QCborValue &other) const { int c = compare(other); @@ -398,7 +398,7 @@ public: int compare(const QCborValue &other) const { return concrete().compare(other); } -#if QT_HAS_INCLUDE() +#if 0 && QT_HAS_INCLUDE() std::strong_ordering operator<=>(const QCborValue &other) const { int c = compare(other);