diff options
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/compat/removed_api.cpp | 2 | ||||
-rw-r--r-- | src/corelib/serialization/qcborvalue.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index 3d11fc1b51..e7b34ceec4 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -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) diff --git a/src/corelib/serialization/qcborvalue.h b/src/corelib/serialization/qcborvalue.h index 03861bf527..f9ade611bb 100644 --- a/src/corelib/serialization/qcborvalue.h +++ b/src/corelib/serialization/qcborvalue.h @@ -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 |