diff options
author | Ian Walters <ian.walters@nokia.com> | 2009-04-08 00:05:27 (GMT) |
---|---|---|
committer | Ian Walters <ian.walters@nokia.com> | 2009-04-08 00:05:27 (GMT) |
commit | 21f15b50777ab3507f79061e749c5cee9acecb3b (patch) | |
tree | 711cd49e2c4ea5be15182364cb9c7a4385d4aaf1 /tests/auto/qcontiguouscache | |
parent | f7516971028d4637eeff6899fbbc6f3e8b8b5c79 (diff) | |
download | Qt-21f15b50777ab3507f79061e749c5cee9acecb3b.zip Qt-21f15b50777ab3507f79061e749c5cee9acecb3b.tar.gz Qt-21f15b50777ab3507f79061e749c5cee9acecb3b.tar.bz2 |
Move qDebug code to correct location
Diffstat (limited to 'tests/auto/qcontiguouscache')
-rw-r--r-- | tests/auto/qcontiguouscache/tst_qcontiguouscache.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/auto/qcontiguouscache/tst_qcontiguouscache.cpp b/tests/auto/qcontiguouscache/tst_qcontiguouscache.cpp index 6580f87..91f6a9c 100644 --- a/tests/auto/qcontiguouscache/tst_qcontiguouscache.cpp +++ b/tests/auto/qcontiguouscache/tst_qcontiguouscache.cpp @@ -49,30 +49,6 @@ #include <QDebug> #include <stdio.h> - -#if defined(FORCE_UREF) -template <class aT> -inline QDebug &operator<<(QDebug debug, const QContiguousCache<aT> &contiguousCache) -#else -template <class aT> -inline QDebug operator<<(QDebug debug, const QContiguousCache<aT> &contiguousCache) -#endif -{ - debug.nospace() << "QContiguousCache("; - for (int i = contiguousCache.firstIndex(); i <= contiguousCache.lastIndex(); ++i) { - debug << contiguousCache[i]; - if (i != contiguousCache.lastIndex()) - debug << ", "; - } - debug << ")"; - return debug.space(); -} - -#if defined(NO_BENCHMARK) and defined(QBENCHMARK) -#undef QBENCHMARK -#define QBENCHMARK -#endif - class tst_QContiguousCache : public QObject { Q_OBJECT |