summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcontainerfwd.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-10-25 14:12:31 +0100
committerLars Knoll <lars.knoll@qt.io>2020-11-03 16:28:14 +0100
commit7d75a4850716423c31fd10ddd85fe82e974b695d (patch)
tree96756fd7ddde0ec06a1c696b85013bafc6729cbd /src/corelib/tools/qcontainerfwd.h
parent742de50c5ec01f93cf0e193a8a131cbd913cb787 (diff)
Cleanup container declarations in qtypeinfo.h
Use variadic templates to avoid having to use several macros to declare movable containers. Add missing movable declaration for QCache. Change-Id: I32d6a399ef8e6c39021df04deedfbbf0c526fc84 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qcontainerfwd.h')
-rw-r--r--src/corelib/tools/qcontainerfwd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qcontainerfwd.h b/src/corelib/tools/qcontainerfwd.h
index a104b11965..b9a50e4d60 100644
--- a/src/corelib/tools/qcontainerfwd.h
+++ b/src/corelib/tools/qcontainerfwd.h
@@ -37,11 +37,11 @@
**
****************************************************************************/
+#include <QtCore/qglobal.h>
+
#ifndef QCONTAINERFWD_H
#define QCONTAINERFWD_H
-#include <QtCore/qglobal.h>
-
// std headers can unfortunately not be forward declared
#include <tuple>
#include <variant>