aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgsimplematerial.h
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-09-16 10:16:31 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-09-16 11:09:07 +0000
commitac719f2d942515efdb222a2bc98c93dd261c37bc (patch)
tree1dde7013e0ca9977a557dd763d3b6aa324907787 /src/quick/scenegraph/util/qsgsimplematerial.h
parentd77d9f193f081ed7c1c5a65763bae1db6109772b (diff)
scenegraph: add missing 'override'
... and drop redundant 'virtual' Change-Id: Id9354138d5b17383a33d0c2a0a26f0e85122cfc7 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/util/qsgsimplematerial.h')
-rw-r--r--src/quick/scenegraph/util/qsgsimplematerial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgsimplematerial.h b/src/quick/scenegraph/util/qsgsimplematerial.h
index d07a68e850..01f98767fd 100644
--- a/src/quick/scenegraph/util/qsgsimplematerial.h
+++ b/src/quick/scenegraph/util/qsgsimplematerial.h
@@ -149,8 +149,8 @@ public:
{
}
- QSGMaterialShader *createShader() const { return m_func(); }
- QSGMaterialType *type() const { return &m_type; }
+ QSGMaterialShader *createShader() const override { return m_func(); }
+ QSGMaterialType *type() const override { return &m_type; }
State *state() { return &m_state; }
const State *state() const { return &m_state; }