diff options
author | miniak <milan.burda@gmail.com> | 2010-08-03 18:33:12 +0200 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-03 18:35:28 +0200 |
commit | 26f43dcc70a0bcc8aec96a0ca6f648c543b97b10 (patch) | |
tree | a387f04203570a75e347abd78cf765e9903c9e36 /src/corelib/io/qdebug.h | |
parent | 02e5a6c9abe9562ce2b2057c0b89f65d371c5b40 (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.h | 4 |
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 |