summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp')
-rw-r--r--tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp
index 8b9144c66..3a4d5f021 100644
--- a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp
+++ b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp
@@ -252,7 +252,7 @@ private Q_SLOTS:
// Check at least one technique is valid
bool foundValid = false;
- for (const auto handle: handles) {
+ for (const auto &handle: handles) {
Qt3DRender::Render::Technique *technique = testAspect.nodeManagers()->techniqueManager()->data(handle);
foundValid |= technique->isCompatibleWithRenderer();
}