summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorVitaly Fanaskov <vitaly.fanaskov@qt.io>2020-03-06 15:17:51 +0100
committerVitaly Fanaskov <vitaly.fanaskov@qt.io>2020-03-06 15:29:30 +0100
commit344eb0d29d75ad83d21d7493252e32876f9fd3f1 (patch)
treee9e8bbf824706e22bfe2738342bb543e6e2165c5 /src/corelib
parent6cca46ee60da9a70b515caabd68aa5cbbd7c3d87 (diff)
QFlatMap: explicitly include <vector>
Without this include, it fails to compile the following line on some systems: "std::vector<bool> done(s)", because only a forward declaration is available. Change-Id: I6eac4b7f69dda16e181043eb707f970b21b2dfef Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qflatmap_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qflatmap_p.h b/src/corelib/tools/qflatmap_p.h
index 590b0d942f..82a1068d34 100644
--- a/src/corelib/tools/qflatmap_p.h
+++ b/src/corelib/tools/qflatmap_p.h
@@ -60,6 +60,7 @@
#include <numeric>
#include <type_traits>
#include <utility>
+#include <vector>
QT_BEGIN_NAMESPACE