From 360e5e0c0821f247eb182eb70cbea83503c42077 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 13 Mar 2012 14:33:14 +1000 Subject: 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 --- tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp b/tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp index 35ee0be326..d0609d00ef 100644 --- a/tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp +++ b/tests/auto/concurrent/qtconcurrentmap/tst_qtconcurrentmap.cpp @@ -2115,15 +2115,6 @@ void tst_QtConcurrentMap::functionOverloads() QtConcurrent::blockingMapped >(constIntList, changeTypeConst); QtConcurrent::blockingMapped >(classList, &MemFnTester::changeTypeConst); QtConcurrent::blockingMapped >(constMemFnTesterList, &MemFnTester::changeTypeConst); - - QStringList stringList; - const QStringList constStringList; - // QtConcurrent::map(stringList, changeTypeQStringListConst); - // QtConcurrent::map(intList, changeTypeNonConst); - // QList(QtConcurrent::map(constStringList, changeTypeQStringList)); - // QtConcurrent::map(classList, &MemFnTester::changeType); - // QtConcurrent::map(classList, &MemFnTester::changeTypeConst); - // QtConcurrent::map(constMemFnTesterList, &MemFnTester::changeTypeConst); } QAtomicInt currentInstanceCount; -- cgit v1.2.3