Shrink the memory footprint of QLocalSocketPrivate
Member variables have been reordered to reduce the memory footprint by 8 bytes. Change-Id: Ib03f916c065861fa317f8802695363fd152e314a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
a1a2d97e34
commit
36ddabfa52
@ -148,14 +148,13 @@ public:
|
|||||||
void cancelDelayedConnect();
|
void cancelDelayedConnect();
|
||||||
QSocketNotifier *delayConnect;
|
QSocketNotifier *delayConnect;
|
||||||
QTimer *connectTimer;
|
QTimer *connectTimer;
|
||||||
int connectingSocket;
|
|
||||||
QString connectingName;
|
QString connectingName;
|
||||||
|
int connectingSocket;
|
||||||
QIODevice::OpenMode connectingOpenMode;
|
QIODevice::OpenMode connectingOpenMode;
|
||||||
#endif
|
#endif
|
||||||
|
QLocalSocket::LocalSocketState state;
|
||||||
QString serverName;
|
QString serverName;
|
||||||
QString fullServerName;
|
QString fullServerName;
|
||||||
QLocalSocket::LocalSocketState state;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user