forked from qt-creator/qt-creator
Prefer using 'override' instead of 'virtual'
warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] Change-Id: I6dac7a62b627fa1353b4455e1af92f869c2571cc Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -295,12 +295,12 @@ class BindingLoopMaterialShader : public QSGMaterialShader
|
||||
public:
|
||||
BindingLoopMaterialShader();
|
||||
|
||||
virtual void updateState(const RenderState &state, QSGMaterial *newEffect,
|
||||
QSGMaterial *oldEffect);
|
||||
virtual char const *const *attributeNames() const;
|
||||
void updateState(const RenderState &state, QSGMaterial *newEffect,
|
||||
QSGMaterial *oldEffect) override;
|
||||
char const *const *attributeNames() const override;
|
||||
|
||||
private:
|
||||
virtual void initialize();
|
||||
void initialize() override;
|
||||
|
||||
int m_matrix_id = 0;
|
||||
int m_z_range_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user