diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-12-31 11:27:08 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-04 11:09:51 +0000 |
commit | 80bcba5661311ed0934884899420ed435f3a20c6 (patch) | |
tree | 0733e8be4bb60d53d75d8fc8db7c271896226218 /src/corelib/serialization | |
parent | 15787f66b606fea6936876bc4d5631592a8a5094 (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
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 1dc4e5d3ebc265d13fe29657b81b7c44ea5f0ed2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/serialization')
-rw-r--r-- | src/corelib/serialization/qxmlstream_p.h | 6 |
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 }; |