diff options
Diffstat (limited to 'src/render/lights')
-rw-r--r-- | src/render/lights/environmentlight_p.h | 2 | ||||
-rw-r--r-- | src/render/lights/light_p.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/render/lights/environmentlight_p.h b/src/render/lights/environmentlight_p.h index 2ebe72b12..00d49d298 100644 --- a/src/render/lights/environmentlight_p.h +++ b/src/render/lights/environmentlight_p.h @@ -65,7 +65,7 @@ public: Qt3DCore::QNodeId shaderData() const; private: - void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL; + void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final; Qt3DCore::QNodeId m_shaderDataId; }; diff --git a/src/render/lights/light_p.h b/src/render/lights/light_p.h index e1f552b2e..8ecc87585 100644 --- a/src/render/lights/light_p.h +++ b/src/render/lights/light_p.h @@ -67,7 +67,7 @@ public: Qt3DCore::QNodeId shaderData() const; private: - void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL; + void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final; Qt3DCore::QNodeId m_shaderDataId; }; @@ -78,8 +78,8 @@ public: explicit RenderLightFunctor(AbstractRenderer *renderer, NodeManagers *managers); Qt3DCore::QBackendNode *create(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const override; - Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const Q_DECL_FINAL; - void destroy(Qt3DCore::QNodeId id) const Q_DECL_FINAL; + Qt3DCore::QBackendNode *get(Qt3DCore::QNodeId id) const final; + void destroy(Qt3DCore::QNodeId id) const final; private: NodeManagers *m_managers; |