From 0475460102411979ab51c365cb2bec2c05b69cb4 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 22 Jun 2020 11:06:12 +0200 Subject: Use QList instead of QVector in corelib Applied to headers only. Source file to be changed separately. Omitted statemachine for now to avoid conflicts. Omitted qmetatype.h for now - to be handled later. Task-number: QTBUG-84469 Change-Id: I317376037a62467c313467d92955ad0b7473aa97 Reviewed-by: Sona Kurazyan --- src/corelib/io/qiodevice_p.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/corelib/io/qiodevice_p.h') diff --git a/src/corelib/io/qiodevice_p.h b/src/corelib/io/qiodevice_p.h index 15a53a67dc..da46b983cd 100644 --- a/src/corelib/io/qiodevice_p.h +++ b/src/corelib/io/qiodevice_p.h @@ -51,12 +51,12 @@ // We mean it. // -#include "QtCore/qiodevice.h" #include "QtCore/qbytearray.h" +#include "QtCore/qiodevice.h" +#include "QtCore/qlist.h" #include "QtCore/qobjectdefs.h" #include "QtCore/qstring.h" #include "private/qringbuffer_p.h" -#include "QtCore/qvector.h" #ifndef QT_NO_QOBJECT #include "private/qobject_p.h" #endif @@ -83,8 +83,8 @@ public: QIODevice::OpenMode openMode; QString errorString; - QVector readBuffers; - QVector writeBuffers; + QList readBuffers; + QList writeBuffers; class QRingBufferRef { QRingBuffer *m_buf; -- cgit v1.2.3