QCborValue: use new comparison helper macros
Add qcborvalue.h header to removed_api.cpp file Ammends from 15da9c75d0a05b7451a35b5b6a3c940f9cb85143 Task-number: QTBUG-120300 Change-Id: Ic33bf80298730f2c3fd408ffb45f0e1b32f531fc Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>bb10
parent
5e29bd14a4
commit
9377039fe5
|
|
@ -932,6 +932,8 @@ QUrl QUrl::fromEncoded(const QByteArray &input, ParsingMode mode)
|
|||
|
||||
#include "qbytearray.h" // inlined API
|
||||
|
||||
#include "qcborvalue.h" // inlined API
|
||||
|
||||
#include "qdatastream.h" // inlined API
|
||||
|
||||
QDataStream &QDataStream::operator<<(bool i)
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ public:
|
|||
bool operator==(const QCborValue &other) const noexcept
|
||||
{ return compare(other) == 0; }
|
||||
bool operator!=(const QCborValue &other) const noexcept
|
||||
{ return !(*this == other); }
|
||||
{ return !operator==(other); }
|
||||
bool operator<(const QCborValue &other) const
|
||||
{ return compare(other) < 0; }
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue