summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-12-28 13:23:28 -0200
committerThiago Macieira <thiago.macieira@intel.com>2015-12-29 12:31:38 +0000
commit83da3e5edaf568b4a8c6aec8e0750fa45c726a27 (patch)
tree81d5201095edd62f80caa86a4691359d42547303 /src
parent72b4f0d4743826ee14ec06bf0ada26418f4a69be (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/dbus/qdbusconnection_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h
index 91824c5c79..0371f5ece0 100644
--- a/src/dbus/qdbusconnection_p.h
+++ b/src/dbus/qdbusconnection_p.h
@@ -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) {}