Change a QList of pointers to QVector
QList of pointers is optimum, but QVector should provide the same performance (we aren't using the beginning-of-list feature that QList has and QVector doesn't). But since we're using QVector elsewhere, this should be better. Change-Id: I39cc61d0d59846ab8c23ffff14241c6715e2eb00 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
72b4f0d474
commit
83da3e5eda
@ -174,7 +174,7 @@ public:
|
||||
typedef QMultiHash<QString, SignalHook> SignalHookHash;
|
||||
typedef QHash<QString, QDBusMetaObject* > MetaObjectHash;
|
||||
typedef QHash<QByteArray, int> MatchRefCountHash;
|
||||
typedef QList<QDBusPendingCallPrivate*> PendingCallList;
|
||||
typedef QVector<QDBusPendingCallPrivate*> PendingCallList;
|
||||
|
||||
struct WatchedServiceData {
|
||||
WatchedServiceData() : refcount(0) {}
|
||||
|
Loading…
Reference in New Issue
Block a user