summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-02-17 11:56:46 +0100
committerhjk <hjk@theqtcompany.com>2015-02-17 13:44:10 +0000
commit732c99487682f0be0b201deb1adf697f6d323b00 (patch)
treeff4c1731ef820e9689811602ab948895f34804eb
parent395f0181ee6d8a9decedea62a096c69a01a48a7c (diff)
work around MSVC level 4 warning
Change-Id: Ide3541a8a1a16a1f9b6b01f54d5b2f6ab178c3ac Task-number: QTBUG-7233 Reviewed-by: hjk <hjk@theqtcompany.com>
-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 dade7fc6ec..455582e310 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -865,6 +865,7 @@ Q_CORE_EXPORT void qFreeAligned(void *ptr);
/* 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;