summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp')
-rw-r--r--tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
index b7134d0454..7654d0e74b 100644
--- a/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
+++ b/tests/auto/corelib/thread/qsemaphore/tst_qsemaphore.cpp
@@ -166,7 +166,7 @@ void tst_QSemaphore::multiRelease()
};
QSemaphore sem;
- QVector<Thread *> threads;
+ QList<Thread *> threads;
threads.resize(4);
for (Thread *&t : threads)
@@ -200,7 +200,7 @@ void tst_QSemaphore::multiAcquireRelease()
};
QSemaphore sem;
- QVector<Thread *> threads;
+ QList<Thread *> threads;
threads.resize(4);
for (Thread *&t : threads)