diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-26 08:21:15 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-29 12:35:09 +0200 |
commit | b0f9c06a9b199a7474eb94a6292b5824364344b6 (patch) | |
tree | 15bfdcd6322d34b9dfeaf1f7b170219b0bab9fa0 /src/corelib/io/qfilesystemwatcher_win.cpp | |
parent | be1bb192955631c44a872014fcb631efc5fcfb8a (diff) |
Use QList instead of QVector in corelib implementation
Omitting state machine and docs for now.
Task-number: QTBUG-84469
Change-Id: Ibfa5e7035515773461f6cdbff35299315ef65737
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_win.cpp')
-rw-r--r-- | src/corelib/io/qfilesystemwatcher_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemwatcher_win.cpp b/src/corelib/io/qfilesystemwatcher_win.cpp index cc04288de5..9544dd7a04 100644 --- a/src/corelib/io/qfilesystemwatcher_win.cpp +++ b/src/corelib/io/qfilesystemwatcher_win.cpp @@ -648,7 +648,7 @@ void QWindowsFileSystemWatcherEngineThread::run() { auto locker = qt_unique_lock(mutex); forever { - QVector<HANDLE> handlesCopy = handles; + QList<HANDLE> handlesCopy = handles; locker.unlock(); DEBUG() << "QWindowsFileSystemWatcherThread" << this << "waiting on" << handlesCopy.count() << "handles"; DWORD r = WaitForMultipleObjects(handlesCopy.count(), handlesCopy.constData(), false, INFINITE); |