diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2015-02-17 21:25:01 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-02-18 07:03:19 +0000 |
commit | 13075b0888ab5c104010f7ff142fda917aa7c310 (patch) | |
tree | b967a908fbcb4e0fa275d103040c361f17cc9823 /src/render/backend/quniformvalue_p.h | |
parent | ae45b629b8a40318fa3e619116b0dd84c987f6ed (diff) |
Fix inconsistent override warnings [-Winconsistent-missing-override]
Classes should either use or not use override, otherwise it hurts
code readability.
Change-Id: Ibe3e5a5fdc5cb3fc4c61ab722005c337f5998c26
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/backend/quniformvalue_p.h')
-rw-r--r-- | src/render/backend/quniformvalue_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/quniformvalue_p.h b/src/render/backend/quniformvalue_p.h index b3f4a64b9..e3c983a83 100644 --- a/src/render/backend/quniformvalue_p.h +++ b/src/render/backend/quniformvalue_p.h @@ -118,7 +118,7 @@ public : // Called by the QGraphicContext prior applying void setTextureUnit(int textureUnit) { m_textureUnit = textureUnit; } - void apply(QGraphicsContext *ctx, const ShaderUniform &description) const; + void apply(QGraphicsContext *ctx, const ShaderUniform &description) const Q_DECL_OVERRIDE; private: QNodeId m_textureId; |