aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2016-07-05 10:27:19 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2016-07-05 12:08:03 +0000
commitfe4868f03ed498d604f8a17a5643b111fe5358c8 (patch)
tree9114d9d337733539a47ddef69ae6f2825a73b28c /src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h
parent3e35ea9dcf648482415a6b0c7e968e65502bdd94 (diff)
Fix "inconsistent use of override" warnings
If one overriding virtual method is marked as such, all of them should be marked. Change-Id: I29a19d2196a7f1afbb31fba8a4a6f2b345489e3c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h')
-rw-r--r--src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h b/src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h
index 941d870c8b..a3f734a7b3 100644
--- a/src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h
+++ b/src/quick/scenegraph/qsgdefaultinternalrectanglenode_p.h
@@ -65,7 +65,7 @@ class Q_QUICK_PRIVATE_EXPORT QSGSmoothColorMaterial : public QSGMaterial
public:
QSGSmoothColorMaterial();
- int compare(const QSGMaterial *other) const;
+ int compare(const QSGMaterial *other) const override;
protected:
QSGMaterialType *type() const override;