diff options
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
| -rw-r--r-- | src/corelib/serialization/qjsonarray.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qjsonarray.cpp b/src/corelib/serialization/qjsonarray.cpp index 0c1b0ac7c84..6ada4e805b5 100644 --- a/src/corelib/serialization/qjsonarray.cpp +++ b/src/corelib/serialization/qjsonarray.cpp @@ -475,7 +475,7 @@ QJsonValue QJsonArray::operator[](qsizetype i) const return at(i); } -bool comparesEqual(const QJsonArray &lhs, const QJsonArray &rhs) noexcept +bool comparesEqual(const QJsonArray &lhs, const QJsonArray &rhs) { if (lhs.a == rhs.a) return true; @@ -494,7 +494,7 @@ bool comparesEqual(const QJsonArray &lhs, const QJsonArray &rhs) noexcept return true; } -bool comparesEqual(const QJsonArray &lhs, const QJsonValue &rhs) noexcept +bool comparesEqual(const QJsonArray &lhs, const QJsonValue &rhs) { return lhs == rhs.toArray(); } |
