summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-07-17 11:47:05 +0100
committerMike Krus <mike.krus@kdab.com>2020-07-17 17:09:38 +0100
commit63f3272563fe1bddee183bb15e4e1399303811f8 (patch)
treea0148ce921b6b9468fd2933874435f10a273945f /tests
parent13067bf7313e2e0e9c16e952bc97dd8854695967 (diff)
Fix build to change in typeof QList::size()
Change-Id: Ib480a8eef157102df8f89a75983cd4d8d46a9388 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp b/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
index f55e7cc0f..0bf7f7c69 100644
--- a/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
+++ b/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
@@ -331,7 +331,7 @@ private Q_SLOTS:
const std::vector<Qt3DRender::Render::Entity *> &filterEntities = filterJob.filteredEntities();
QCOMPARE(filterEntities.size(), expectedSelectedEntities.size());
- for (auto i = 0, m = expectedSelectedEntities.size(); i < m; ++i)
+ for (int i = 0, m = expectedSelectedEntities.size(); i < m; ++i)
QCOMPARE(filterEntities.at(i)->peerId(), expectedSelectedEntities.at(i));
}
};