aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp')
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp b/tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp
index 7db01180be..64b909caf5 100644
--- a/tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp
+++ b/tests/benchmarks/qml/librarymetrics_performance/tst_librarymetrics_performance.cpp
@@ -251,7 +251,7 @@ void tst_librarymetrics_performance::compilation()
}
// sort the list
- qSort(nResults);
+ std::sort(nResults.begin(), nResults.end());
// remove IGNORE_N_OUTLIERS*2 from ONLY the worst end (remove gc interference)
for (int i = 0; i < IGNORE_N_OUTLIERS; ++i) {
@@ -300,7 +300,7 @@ void tst_librarymetrics_performance::instantiation_cached()
}
// sort the list
- qSort(nResults);
+ std::sort(nResults.begin(), nResults.end());
// remove IGNORE_N_OUTLIERS*2 from ONLY the worst end (remove gc interference)
for (int i = 0; i < IGNORE_N_OUTLIERS; ++i) {
@@ -357,7 +357,7 @@ void tst_librarymetrics_performance::instantiation()
}
// sort the list
- qSort(nResults);
+ std::sort(nResults.begin(), nResults.end());
// remove IGNORE_N_OUTLIERS*2 from ONLY the worst end (remove gc interference)
for (int i = 0; i < IGNORE_N_OUTLIERS; ++i) {
@@ -423,7 +423,7 @@ void tst_librarymetrics_performance::positioners()
}
// sort the list
- qSort(nResults);
+ std::sort(nResults.begin(), nResults.end());
// remove IGNORE_N_OUTLIERS*2 from ONLY the worst end (remove gc interference)
for (int i = 0; i < IGNORE_N_OUTLIERS; ++i) {