summaryrefslogtreecommitdiffstats
path: root/src/render/backend/entity_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-02-22 20:04:59 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-02-22 21:17:52 +0000
commit382a79d92be025056ded362571b17ece9965edff (patch)
treeebbd0a9f089f89df924879827b70549e4c581a42 /src/render/backend/entity_p.h
parent799bd03f73815a67ab6c394ff49e523731fe2c86 (diff)
const QNodeId & -> QNodeId
Change-Id: Ia672918cbae3b950e20e68bfbfd6982676a5981e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend/entity_p.h')
-rw-r--r--src/render/backend/entity_p.h6
1 files changed, 3 insertions, 3 deletions
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;