summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphnode_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/framegraph/framegraphnode_p.h
parent799bd03f73815a67ab6c394ff49e523731fe2c86 (diff)
const QNodeId & -> QNodeId
Change-Id: Ia672918cbae3b950e20e68bfbfd6982676a5981e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraphnode_p.h')
-rw-r--r--src/render/framegraph/framegraphnode_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/framegraph/framegraphnode_p.h b/src/render/framegraph/framegraphnode_p.h
index e6d35849a..d8b5e8b5b 100644
--- a/src/render/framegraph/framegraphnode_p.h
+++ b/src/render/framegraph/framegraphnode_p.h
@@ -99,9 +99,9 @@ public:
void setFrameGraphManager(FrameGraphManager *manager);
FrameGraphManager *manager() const;
- void setParentId(const Qt3DCore::QNodeId &parentId);
- void appendChildId(const Qt3DCore::QNodeId &childHandle);
- void removeChildId(const Qt3DCore::QNodeId &childHandle);
+ void setParentId(Qt3DCore::QNodeId parentId);
+ void appendChildId(Qt3DCore::QNodeId childHandle);
+ void removeChildId(Qt3DCore::QNodeId childHandle);
Qt3DCore::QNodeId parentId() const;
QList<Qt3DCore::QNodeId> childrenIds() const;
@@ -136,12 +136,12 @@ public:
return createBackendFrameGraphNode(frontend);
}
- Qt3DCore::QBackendNode *get(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE
+ Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_OVERRIDE
{
return m_manager->lookupNode(id);
}
- void destroy(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE
+ void destroy(Qt3DCore::QNodeId id) const Q_DECL_OVERRIDE
{
m_manager->releaseNode(id);
}
@@ -175,8 +175,8 @@ class FrameGraphComponentFunctor : public Qt3DCore::QBackendNodeFunctor
public:
explicit FrameGraphComponentFunctor(AbstractRenderer *renderer);
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:
AbstractRenderer *m_renderer;