From 13075b0888ab5c104010f7ff142fda917aa7c310 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 17 Feb 2015 21:25:01 +0000 Subject: 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 --- src/render/backend/quniformvalue_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/backend/quniformvalue_p.h') 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; -- cgit v1.2.3