summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-02 11:46:32 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-02 13:24:36 +0000
commit936632c9c1e92de899bb17596a66167e8d515bc4 (patch)
tree3fb07e59f2e15d049e657c824f471ca87dcbdf0a /tests/auto/xml
parent91b3099d713b25367aafaf0aa8b719b7bd316155 (diff)
QList: fix regression in swapItemsAt
Commit e0d2b50249839d10ecf87abc296b8020046d1d75 makes swapItemsAt use ADL to find swap(). Problem is, QList has a swap() function (that swaps the elements at the specificed _indices_); that function will be found before ADL kicks in. So do the second best thing: use qSwap instead. Change-Id: Icf2b4e3ce09117e4056acbad3e2d8a625861d807 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/xml')
0 files changed, 0 insertions, 0 deletions