diff options
author | Paul Lemire <paul.lemire350@gmail.com> | 2016-05-13 19:58:59 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-06-27 10:52:01 +0000 |
commit | 6a57764b161d220ec0f41548bfafc3345de8813c (patch) | |
tree | b10b55c20171e6945e1a13c184a8bf41d0744751 /src/render/framegraph/framegraphnode.cpp | |
parent | 718a66e2266b8e9dfa81a80efe073153c3e773b2 (diff) |
FrameGraphNode: make children() return a QVector
Change-Id: I05af110ba974711d5462206cf844379f8ae5cb07
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraphnode.cpp')
-rw-r--r-- | src/render/framegraph/framegraphnode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/framegraph/framegraphnode.cpp b/src/render/framegraph/framegraphnode.cpp index 23ea95acf..cfdf9834f 100644 --- a/src/render/framegraph/framegraphnode.cpp +++ b/src/render/framegraph/framegraphnode.cpp @@ -127,9 +127,9 @@ FrameGraphNode *FrameGraphNode::parent() const return m_manager->lookupNode(m_parentId); } -QList<FrameGraphNode *> FrameGraphNode::children() const +QVector<FrameGraphNode *> FrameGraphNode::children() const { - QList<FrameGraphNode *> children; + QVector<FrameGraphNode *> children; children.reserve(m_childrenIds.size()); for (Qt3DCore::QNodeId id : m_childrenIds) { |