summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-25 11:23:46 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-02-25 11:23:46 +0000
commit2cac171ddedfecdfc6fa27c5326f9eebfab1822e (patch)
treeff8e7c162875d7374ddc42224a91533b7e8c8663 /src/corelib/global/qglobal.h
parent5113fdeb7d50979c6acbe2c9c5b26ad134614873 (diff)
parent709e40093e6081b18e0d3003e0a088e1a9b6f211 (diff)
Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 554c5b658a..a171f0894b 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -882,6 +882,7 @@ QT_WARNING_DISABLE_MSVC(4530) /* C++ exception handler used, but unwind semantic
/* make use of decltype or GCC's __typeof__ extension */
template <typename T>
class QForeachContainer {
+ QForeachContainer &operator=(const QForeachContainer &) Q_DECL_EQ_DELETE;
public:
inline QForeachContainer(const T& t) : c(t), i(c.begin()), e(c.end()), control(1) { }
const T c;