summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp')
-rw-r--r--tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp b/tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp
index 0b4587ae8..0813fff91 100644
--- a/tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp
+++ b/tests/benchmarks/core/qresourcesmanager/arraypolicy/tst_bench_arraypolicy.cpp
@@ -69,7 +69,7 @@ void benchmarkReleaseResources()
Qt3DCore::ArrayAllocatingPolicy<T> allocator;
const int max = (1 << 16) - 1;
- QVector<T *> resources(max);
+ QVector<Qt3DCore::QHandle<T>> resources(max);
for (int i = 0; i < max; i++) {
resources[i] = allocator.allocateResource();
}