summaryrefslogtreecommitdiffstats
path: root/src/render/backend/entity_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/entity_p.h')
-rw-r--r--src/render/backend/entity_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/entity_p.h b/src/render/backend/entity_p.h
index 5a9340c1a..a66dd2956 100644
--- a/src/render/backend/entity_p.h
+++ b/src/render/backend/entity_p.h
@@ -101,7 +101,7 @@ public:
void removeFromParentChildHandles();
void appendChildHandle(HEntity childHandle);
void removeChildHandle(HEntity childHandle) { m_childrenHandles.removeOne(childHandle); }
- QVector<HEntity> childrenHandles() const { return m_childrenHandles; }
+ const QVector<HEntity> &childrenHandles() const { return m_childrenHandles; }
QVector<Entity *> children() const;
bool hasChildren() const { return !m_childrenHandles.empty(); }
void traverse(const std::function<void(Entity *)> &operation);