summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-12-31 11:27:08 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-01-04 10:02:44 +0100
commit1dc4e5d3ebc265d13fe29657b81b7c44ea5f0ed2 (patch)
tree24272ff056472f300dbdd732e4a9ae5360aa5272 /src/corelib/serialization
parent1f4434a8e2550336b2534301eed105656e7ec12d (diff)
XmlStringRef: remove operator<=>
It's defined in terms of operator<=> on QStringView, which does not exist, causing a compile error. Change-Id: I64fc60da4e52c7e53be7849d9b42952be139a816 Fixes: QTBUG-89729 Pick-to: 6.0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/serialization')
-rw-r--r--src/corelib/serialization/qxmlstream_p.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/serialization/qxmlstream_p.h b/src/corelib/serialization/qxmlstream_p.h
index afbd6f22de..41b04d4c38 100644
--- a/src/corelib/serialization/qxmlstream_p.h
+++ b/src/corelib/serialization/qxmlstream_p.h
@@ -104,9 +104,6 @@ public:
MAKE_OP(>=)
MAKE_OP(<)
MAKE_OP(>)
-#ifdef __cpp_impl_three_way_comparison
- MAKE_OP(<=>)
-#endif
#undef MAKE_OP
#define MAKE_OP(op) \
friend auto operator op(const XmlStringRef &lhs, QStringView rhs) noexcept { return lhs.view() op rhs; } \
@@ -118,9 +115,6 @@ public:
MAKE_OP(>=)
MAKE_OP(<)
MAKE_OP(>)
-#ifdef __cpp_impl_three_way_comparison
- MAKE_OP(<=>)
-#endif
#undef MAKE_OP
};