qt6-bb10/src/tools
Marc Mutz 612e082fe2 uic: replace an inefficient QList with QVector
Buddy is larger than a void*, so holding it 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 it movable, and holding it in a QVector instead.

Since QVector requires a default ctor, drop the pointless
existing ctor and use aggregate initialization instead.

Use QVector's rvalue append.

Change-Id: I696ca4f03dbe362a5438be209debbcd966fe8130
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2016-02-11 19:25:27 +00:00
..
bootstrap rework include path construction in the module system 2016-01-12 15:14:57 +00:00
bootstrap-dbus rework include path construction in the module system 2016-01-12 15:14:57 +00:00
moc moc: replace inefficient QLists with QVectors 2016-02-10 16:00:46 +00:00
qdbuscpp2xml Merge remote-tracking branch 'origin/5.6' into dev 2016-02-11 08:25:04 +01:00
qdbusxml2cpp Merge remote-tracking branch 'origin/5.6' into dev 2016-02-11 08:25:04 +01:00
qlalr Bump copyright year to 2016 2016-01-29 13:30:04 +00:00
rcc rcc: eradicate all Q_FOREACH loops 2016-01-26 11:21:48 +00:00
uic uic: replace an inefficient QList with QVector 2016-02-11 19:25:27 +00:00