diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2020-05-05 14:07:25 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2020-06-04 11:13:16 +0200 |
commit | 0c9c4e163458f99ac350aef4979754cbe147dac3 (patch) | |
tree | f6acbf7b96f2ca146a2f2fefc666e3df817fa30d /tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp | |
parent | 83ee10ff799fa5892b14a677036fb445ae16b10b (diff) |
QResourcesManager: switch to std::vector
Given QVector is potentially slower for this use case and the fact
that QVector might become QList in Qt6, we're better of using the
std.
Change-Id: If2c403439ddb856b60f8bfd5ae7c6ec1cb2c892a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
(cherry picked from commit 04bdb35a6c5f5fe417c06392e6a0861d80ec9dba)
Diffstat (limited to 'tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp')
-rw-r--r-- | tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp | 2 |
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 e5c34f804..19763ca17 100644 --- a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp +++ b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp @@ -238,7 +238,7 @@ private Q_SLOTS: // THEN QCOMPARE(testAspect.renderer()->isRunning(), true); QCOMPARE(testAspect.renderer()->submissionContext()->isInitialized(), true); - const QVector<Qt3DRender::Render::HTechnique> handles = testAspect.nodeManagers()->techniqueManager()->activeHandles(); + const std::vector<Qt3DRender::Render::HTechnique> &handles = testAspect.nodeManagers()->techniqueManager()->activeHandles(); QCOMPARE(handles.size(), 3); // WHEN |