QDBusPendingCallPrivate: save 8 bytes on 64-bit archs
authorMarc Mutz <marc.mutz@kdab.com>
Fri, 24 Aug 2012 09:00:07 +0000 (11:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 11:41:55 +0000 (13:41 +0200)
Moved waitingForFinished out from between two large-type variables to
save eight bytes per QDBusPendingCallPrivate on 64bit platforms.

Many a mickle makes a muckle.

Change-Id: I5612ad8bb907c6770be0245e667bdb2add30d38b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/dbus/qdbuspendingcall_p.h

index 0199efb..e2caa27 100644 (file)
@@ -96,10 +96,9 @@ public:
     QDBusPendingCallWatcherHelper *watcherHelper;
     QDBusMessage replyMessage;
     DBusPendingCall *pending;
-    bool waitingForFinished;
-
     QString expectedReplySignature;
     int expectedReplyCount;
+    bool waitingForFinished;
     // }
 
     QDBusPendingCallPrivate(const QDBusMessage &sent, QDBusConnectionPrivate *connection)