summaryrefslogtreecommitdiffstats
path: root/examples/corelib/serialization/savegame/character.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-02-10 11:02:11 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-13 17:29:00 +0000
commit701660557fbdbcc8663530b1b24884e36f7e0459 (patch)
tree97bb4a6f1d61681f4d462d27eaa9b1e45175d9cb /examples/corelib/serialization/savegame/character.h
parent8ad0a8fe28a8810308abf42dade81a5f3f0f5ef0 (diff)
tst_qvarlengtharray: fix MyBase trackers for swap()
I don't begin to understand the semantics of the trackers here, but whatever they are, they break with the fallback std::swap() 3-moves implementation and lose track of alive objects, so provide an ADL swap that does the right thing. Amends dd58ddd5d97f0663d5fafb7e81bff4fc7db13ba7 (I think). Change-Id: I1cd49c95dca2d103a26c2c7ac0a896929135a6c8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 49fca96d88c308bc22cd898a8d202228d185654e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/corelib/serialization/savegame/character.h')
0 files changed, 0 insertions, 0 deletions