diff options
author | Rym Bouabid <rym.bouabid@qt.io> | 2024-05-30 12:55:25 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-06-07 08:15:00 +0200 |
commit | dc49d84abc35dfbbc4028a5f86017786cff13ae7 (patch) | |
tree | ea8cbb003ed783e9ef8494a58cde01a9290ef7c1 /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/P23/ibm23n04.xml | |
parent | d73bdec05101b34745156c8cd4ea571f1223ad32 (diff) |
The ctor is explicit so there should not be an assignment operator op=.
Changing the assignment to = Qt::totally_ordered_wrapper(ptr) is also
possible but if ptr is nullptr, I have to forward declare a pointer as
follow "T *n = nullptr" and then call Qt::totally_ordered_wrapper(n).
So I think adding reset(P) function is better.
Found in API Review.
Pick-to: 6.8
Change-Id: I0acfcacc97a43f3cf8bfa65b2b16a65cae95b727
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/P23/ibm23n04.xml')
0 files changed, 0 insertions, 0 deletions