From 382a79d92be025056ded362571b17ece9965edff Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Mon, 22 Feb 2016 20:04:59 +0100 Subject: const QNodeId & -> QNodeId Change-Id: Ia672918cbae3b950e20e68bfbfd6982676a5981e Reviewed-by: Sean Harmer --- src/render/backend/entity_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/backend/entity_p.h') diff --git a/src/render/backend/entity_p.h b/src/render/backend/entity_p.h index ae88e3320..c5b4f00ee 100644 --- a/src/render/backend/entity_p.h +++ b/src/render/backend/entity_p.h @@ -111,7 +111,7 @@ public: Sphere *worldBoundingVolumeWithChildren() const { return m_worldBoundingVolumeWithChildren.data(); } void addComponent(Qt3DCore::QComponent *component); - void removeComponent(const Qt3DCore::QNodeId &nodeId); + void removeComponent(Qt3DCore::QNodeId nodeId); bool isEnabled() const; void setEnabled(bool isEnabled); @@ -281,8 +281,8 @@ class RenderEntityFunctor : public Qt3DCore::QBackendNodeFunctor public: explicit RenderEntityFunctor(NodeManagers *manager); Qt3DCore::QBackendNode *create(Qt3DCore::QNode *frontend) const Q_DECL_OVERRIDE; - Qt3DCore::QBackendNode *get(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE; - void destroy(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE; + Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_OVERRIDE; + void destroy(Qt3DCore::QNodeId id) const Q_DECL_OVERRIDE; private: NodeManagers *m_nodeManagers; -- cgit v1.2.3