Remove commented code from qtconcurrentmap autotest.

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>
This commit is contained in:
Jason McDonald 2012-03-13 14:33:14 +10:00 committed by Qt by Nokia
parent c45146b48c
commit 360e5e0c08

View 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;