summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/framegraph/framegraphvisitor.cpp')
-rw-r--r--src/render/framegraph/framegraphvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/framegraph/framegraphvisitor.cpp b/src/render/framegraph/framegraphvisitor.cpp
index a5a47d711..7da61386a 100644
--- a/src/render/framegraph/framegraphvisitor.cpp
+++ b/src/render/framegraph/framegraphvisitor.cpp
@@ -96,7 +96,7 @@ void FrameGraphVisitor::visit(Render::FrameGraphNode *node)
// initiate a rendering from the current camera
const QList<Qt3DCore::QNodeId> fgChildIds = node->childrenIds();
- for (const Qt3DCore::QNodeId fgChildId : fgChildIds)
+ for (const Qt3DCore::QNodeId &fgChildId : fgChildIds)
visit(m_manager->lookupNode(fgChildId));
// Leaf node - create a RenderView ready to be populated