diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-03-21 10:54:55 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-03-22 10:47:13 +0100 |
| commit | e07aec7eaa40361b685f35dd75b9f668f28364b7 (patch) | |
| tree | ebf239bb67b874ce16be3a23bef1cc52424b0eb3 /src/corelib/thread/qfuture.h | |
| parent | df121fd7f74ecfb3de20867edea1c1f3ebf035c2 (diff) | |
QFuture: cleanup headers
Do not include vector; we currently do not use std::vector, and the plan
is to use QList when that one supports move-only types.
Use QMutexLocker instead of std::mutex_locker, considering that the
former is already included with <QMutex>.
Use forward declarations where applicable.
Add header which were currently only indirectly included (to make
QtCreator's code model happy).
Change-Id: I37d5cd3982047a6d8a3132fd66571878298039b3
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'src/corelib/thread/qfuture.h')
| -rw-r--r-- | src/corelib/thread/qfuture.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/thread/qfuture.h b/src/corelib/thread/qfuture.h index a56e9ee3ff7..9aa77ccf2f0 100644 --- a/src/corelib/thread/qfuture.h +++ b/src/corelib/thread/qfuture.h @@ -48,7 +48,6 @@ #include <QtCore/qfuture_impl.h> #include <type_traits> -#include <vector> QT_REQUIRE_CONFIG(future); |
