summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-01-03 10:43:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-03 18:19:28 +0100
commitee7dbf97bbec888a9a5abceeab87c4a570ef20fc (patch)
tree5afcdac2ccd8b101502eb703abca0aa167bd02ff /tests/benchmarks/corelib/tools
parent330ad41b7d3a5c65e57bd88f7e659fc466279b1b (diff)
Benchmarks: Remove declaration of built-in and automatic metatypes.
These types are either built-in or 'automatically declared' and so don't need to be explicitly declared as metatypes. Change-Id: Iba4b7f8ff7a1c7974d144b955cbf064e43b36ec7 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'tests/benchmarks/corelib/tools')
-rw-r--r--tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp1
-rw-r--r--tests/benchmarks/corelib/tools/qlist/main.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp b/tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp
index ffcb8e395a..79b9b36040 100644
--- a/tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp
+++ b/tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp
@@ -97,7 +97,6 @@ QVector<DataType> generateData(QString dataSetType, const int length)
return container;
}
-Q_DECLARE_METATYPE(QVector<int>)
void tst_QAlgorithms::stableSort_data()
{
diff --git a/tests/benchmarks/corelib/tools/qlist/main.cpp b/tests/benchmarks/corelib/tools/qlist/main.cpp
index ab0597ccae..02cdad5f2b 100644
--- a/tests/benchmarks/corelib/tools/qlist/main.cpp
+++ b/tests/benchmarks/corelib/tools/qlist/main.cpp
@@ -192,7 +192,6 @@ void removeAll_test(const QList<int> &i10, ushort valueToRemove, int itemsToRemo
QCOMPARE(MyBase::errorCount, 0);
}
-Q_DECLARE_METATYPE(QList<int>);
void tst_QList::removeAll_primitive_data()
{