qt6-bb10/tests/auto/corelib/serialization
Thiago Macieira bfb9b02d3b QCborValue: fix the move-assignment operator
The double-swap technique I used was flawed and broke on
self-assignment. What I had meant to use was the move-and-swap
technique. Thanks to Peppe for pointing it out.

This also fixes a compiler bug in the Green Hills compiler. It was
finding the wrong "swap" function in qSwap:

    using std::swap;
    swap(value1, value2);

It's supposed to find swap(QCborValue &, QCborValue &) due to argument-
dependent lookup. It's instead finding std::swap<QCborValue>, which
recurses.

Fixes: QTBUG-83390
Change-Id: Ibdc95e9af7bd456a94ecfffd1603e1bee90cd107
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2020-04-11 12:04:25 +00:00
..
json QJsonObject: add missing detach2() calls 2020-04-09 09:41:06 -03:00
qcborstreamreader CBOR support: prevent overflowing QByteArray's max allocation 2020-03-27 16:45:48 -03:00
qcborstreamwriter Long live QCborStreamWriter! 2018-05-27 22:41:41 +00:00
qcborvalue QCborValue: fix the move-assignment operator 2020-04-11 12:04:25 +00:00
qcborvalue_json QCborValue: move the toDiagnosticNotation() function to its own file 2018-07-30 16:21:12 +00:00
qdatastream Add default arguments to QPainterPath methods using transform 2020-03-06 21:09:48 +01:00
qdatastream_core_pixmap Tidy up data-stream test 2019-10-25 11:44:13 +02:00
qtextstream Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qxmlstream Add an expansion limit for entities 2020-02-26 22:08:38 +01:00
cborlargedatavalidation.cpp CBOR support: prevent overflowing QByteArray's max allocation 2020-03-27 16:45:48 -03:00
serialization.pro Exclude tests that need GUI when GUI isn't available 2019-10-25 11:42:09 +02:00