summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-24 02:04:09 +0200
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2016-02-10 16:00:46 +0000
commitcc2938b5b6aa07210b04bd48ad8a2830701a06e5 (patch)
tree5e9719c9eace2947e542f2ee34c0f23589e3e7e6 /src/tools/uic/cpp/cppwriteinitialization.cpp
parent3e63a58a96bc9d7fc6004f3a8eacc062bae953f9 (diff)
moc: replace inefficient QLists with QVectors
These types are larger than a void*, so holding them in QLists is needlessly inefficient. Worse, the code could come to depend on the fragile property of (inefficient) QLists that references to elements therein never are invalidated. Fix by marking them movable, and holding them in a QVector instead. Change-Id: I42f494ed87854eadc33d78db4479203ff5e0370f Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Milian Wolff <milian.wolff@kdab.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions