Remove commented code from qtconcurrentmap autotest.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 13 Mar 2012 04:33:14 +0000 (14:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 06:51:45 +0000 (07:51 +0100)
The removed code was already commented out when the test was added to
the Qt repository and does not compile when uncommented as it calls
non-existant overloads of QtConcurrent::FunctionWrapper1::operator().

Change-Id: I5a02efae4b89e2815b077474aa7cd0192dcb2730
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp

index 35ee0be..d0609d0 100644 (file)
@@ -2115,15 +2115,6 @@ void tst_QtConcurrentMap::functionOverloads()
     QtConcurrent::blockingMapped<QList<QString> >(constIntList, changeTypeConst);
     QtConcurrent::blockingMapped<QList<QString> >(classList, &MemFnTester::changeTypeConst);
     QtConcurrent::blockingMapped<QList<QString> >(constMemFnTesterList, &MemFnTester::changeTypeConst);
-
-    QStringList stringList;
-    const QStringList constStringList;
-    // QtConcurrent::map(stringList, changeTypeQStringListConst);
-    // QtConcurrent::map(intList, changeTypeNonConst);
-    // QList<QString>(QtConcurrent::map(constStringList, changeTypeQStringList));
-    // QtConcurrent::map(classList, &MemFnTester::changeType);
-    // QtConcurrent::map(classList, &MemFnTester::changeTypeConst);
-    // QtConcurrent::map(constMemFnTesterList, &MemFnTester::changeTypeConst);
 }
 
 QAtomicInt currentInstanceCount;