diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-08-21 18:04:19 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-08-24 14:50:56 +0300 |
commit | 556a7e7318fce42e154439dd7157f44551a7f1ae (patch) | |
tree | 4eae631a431e59c5ffc1f014a87931a55ccdbf31 /src/corelib/io/qiodevice.cpp | |
parent | b3310426b6ae09fd9aba4183e60c7b88b837e735 (diff) |
QIODevicePrivate: rearrange class members
As this class is a subject of the library hook data, there must be a
solid understanding of the member's alignment and padding across
different architectures. By reordering the layout, this patch provides
a clearer way of adding new members to the class.
Bump the TypeInformationVersion field in qtHookData, to notify the
Qt Creator developers that the offset of QFilePrivate::fileName was
changed and dumpers should be adapted.
Change-Id: Ied8b69bdeb9da50ff05aba2107bc75509674b18e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index b920fbb17b..d64c2f37cb 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -156,22 +156,6 @@ static void checkWarnMessage(const QIODevice *device, const char *function, cons \internal */ QIODevicePrivate::QIODevicePrivate() - : openMode(QIODevice::NotOpen), - pos(0), devicePos(0), - transactionPos(0), - readChannelCount(0), - writeChannelCount(0), - currentReadChannel(0), - currentWriteChannel(0), - readBufferChunkSize(QIODEVICE_BUFFERSIZE), - writeBufferChunkSize(0), - currentWriteChunk(nullptr), - transactionStarted(false) - , baseReadLineDataCalled(false) - , accessMode(Unset) -#ifdef QT_NO_QOBJECT - , q_ptr(nullptr) -#endif { } |