From 1dc4e5d3ebc265d13fe29657b81b7c44ea5f0ed2 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 31 Dec 2020 11:27:08 +0100 Subject: 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 --- src/corelib/serialization/qxmlstream_p.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/serialization') 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 }; -- cgit v1.2.3