summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/framegraph/framegraphnode.cpp')
-rw-r--r--src/render/framegraph/framegraphnode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/framegraph/framegraphnode.cpp b/src/render/framegraph/framegraphnode.cpp
index d1718b7e5..1c913b281 100644
--- a/src/render/framegraph/framegraphnode.cpp
+++ b/src/render/framegraph/framegraphnode.cpp
@@ -137,6 +137,7 @@ FrameGraphNode *FrameGraphNode::parent() const
QList<FrameGraphNode *> FrameGraphNode::children() const
{
QList<FrameGraphNode *> children;
+ children.reserve(m_childrenHandles.size());
Q_FOREACH (HFrameGraphNode handle, m_childrenHandles) {
FrameGraphNode **child = m_manager->data(handle);