QtConcurrent: Remove the redundant code for QStringList

QStringList is a typedef for QList<QString>, so it doesn't need special
handling.

Change-Id: Ib371f9fa49d9d45da7956287dd0f5b6c0224f439
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Sona Kurazyan 2021-07-22 15:13:28 +02:00
parent 921ff400bb
commit c3a9c1ecbc
2 changed files with 0 additions and 8 deletions

View File

@ -42,7 +42,6 @@
#include <QtConcurrent/qtconcurrentcompilertest.h>
#include <QtCore/qfuture.h>
#include <QtCore/QStringList>
#include <tuple>
@ -193,12 +192,6 @@ struct ReduceResultTypeHelper<Callable,
template <class InputSequence, class MapFunctor>
struct MapSequenceResultType;
template <class MapFunctor>
struct MapSequenceResultType<QStringList, MapFunctor>
{
typedef QList<QtPrivate::MapResultType<QStringList, MapFunctor>> ResultType;
};
#ifndef QT_NO_TEMPLATE_TEMPLATE_PARAMETERS
template <template <typename...> class InputSequence, typename MapFunctor, typename ...T>

View File

@ -47,7 +47,6 @@
#include <QtConcurrent/qtconcurrentmapkernel.h>
#include <QtConcurrent/qtconcurrentreducekernel.h>
#include <QtConcurrent/qtconcurrentfunctionwrappers.h>
#include <QtCore/qstringlist.h>
QT_BEGIN_NAMESPACE