summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdebug.h
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2010-08-03 18:33:12 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-03 18:35:28 +0200
commit26f43dcc70a0bcc8aec96a0ca6f648c543b97b10 (patch)
treea387f04203570a75e347abd78cf765e9903c9e36 /src/corelib/io/qdebug.h
parent02e5a6c9abe9562ce2b2057c0b89f65d371c5b40 (diff)
It is no longer necessary to check for QT_NO_MEMBER_TEMPLATES
Merge-request: 756 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/corelib/io/qdebug.h')
-rw-r--r--src/corelib/io/qdebug.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h
index 093312f412..0591318553 100644
--- a/src/corelib/io/qdebug.h
+++ b/src/corelib/io/qdebug.h
@@ -137,10 +137,8 @@ public:
inline QNoDebug &nospace() { return *this; }
inline QNoDebug &maybeSpace() { return *this; }
-#ifndef QT_NO_MEMBER_TEMPLATES
template<typename T>
inline QNoDebug &operator<<(const T &) { return *this; }
-#endif
};
Q_CORE_EXPORT_INLINE QDebug qCritical() { return QDebug(QtCriticalMsg); }
@@ -285,10 +283,8 @@ Q_CORE_EXPORT_INLINE QDebug qDebug() { return QDebug(QtDebugMsg); }
inline QNoDebug qDebug() { return QNoDebug(); }
#define qDebug QT_NO_QDEBUG_MACRO
-#ifdef QT_NO_MEMBER_TEMPLATES
template<typename T>
inline QNoDebug operator<<(QNoDebug debug, const T &) { return debug; }
-#endif
#endif