summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-03-28 08:41:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-31 22:54:14 +0200
commita6f8aa0ae1d5a1d1099df1891ea60b14b6eb6065 (patch)
treee1a6cf49d60b02498fbc6373c477c5604083b9a7 /mkspecs
parent08b8f9d0872cc68e90599c6896f3bef113f7b764 (diff)
QStringList: use QList:.swap(int,int) in removeDuplicates instead of assignment
This is faster because it just swaps the pointers stored instead of touching the refcounts. It's the same as qMove()ing the right-hand-side, but benefits C++98, too. Change-Id: I6b7e3d0e5c7eb81f88fe9069d6662335d24aa86c Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions