From 6f51fee995cf6f4a746077209f4dbb729c463769 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 26 Mar 2012 15:28:40 -0300 Subject: Remove references to QT_NO_STL from QtCore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QT_NO_STL is now no longer defined, so remove the conditionals and select the STL side. Change-Id: Ieedd248ae16e5a128b4ac287f850b3ebc8fb6181 Reviewed-by: João Abecasis --- src/corelib/tools/qmap.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/corelib/tools/qmap.h') diff --git a/src/corelib/tools/qmap.h b/src/corelib/tools/qmap.h index 3f46a8ad1e..3494bd0c4c 100644 --- a/src/corelib/tools/qmap.h +++ b/src/corelib/tools/qmap.h @@ -51,10 +51,7 @@ #include #endif -#ifndef QT_NO_STL #include -#endif - #include QT_BEGIN_HEADER @@ -349,10 +346,8 @@ public: { qSwap(d, other.d); return *this; } #endif inline void swap(QMap &other) { qSwap(d, other.d); } -#ifndef QT_NO_STL explicit QMap(const typename std::map &other); std::map toStdMap() const; -#endif bool operator==(const QMap &other) const; inline bool operator!=(const QMap &other) const { return !(*this == other); } @@ -939,7 +934,6 @@ Q_OUTOFLINE_TEMPLATE bool QMap::operator==(const QMap &other) co return true; } -#ifndef QT_NO_STL template Q_OUTOFLINE_TEMPLATE QMap::QMap(const std::map &other) { @@ -963,8 +957,6 @@ Q_OUTOFLINE_TEMPLATE std::map QMap::toStdMap() const return map; } -#endif // QT_NO_STL - template class QMultiMap : public QMap { -- cgit v1.2.3