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>bb10
parent
1f4434a8e2
commit
1dc4e5d3eb
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue