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:
parent
921ff400bb
commit
c3a9c1ecbc
@ -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>
|
||||
|
@ -47,7 +47,6 @@
|
||||
#include <QtConcurrent/qtconcurrentmapkernel.h>
|
||||
#include <QtConcurrent/qtconcurrentreducekernel.h>
|
||||
#include <QtConcurrent/qtconcurrentfunctionwrappers.h>
|
||||
#include <QtCore/qstringlist.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user