forked from qt-creator/qt-creator
Add missing "final" to unexported/unshared classes
Change-Id: I84d5fc39d7ef5588a20545854d0cfd0b993db090 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -60,7 +60,7 @@ class FindComponentFromFilePath :
|
||||
public:
|
||||
void setFilePath(const QString &filePath);
|
||||
qmt::MComponent *component() const { return m_bestComponent; }
|
||||
void visitMComponent(qmt::MComponent *component);
|
||||
void visitMComponent(qmt::MComponent *component) final;
|
||||
|
||||
private:
|
||||
QString m_elementName;
|
||||
@@ -122,7 +122,7 @@ public:
|
||||
void setModelController(qmt::ModelController *modelController);
|
||||
void setModelUtilities(ModelUtilities *modelUtilities);
|
||||
void updateFilePaths();
|
||||
void visitMComponent(qmt::MComponent *component);
|
||||
void visitMComponent(qmt::MComponent *component) final;
|
||||
|
||||
private:
|
||||
QStringList findFilePathOfComponent(const qmt::MComponent *component);
|
||||
|
||||
Reference in New Issue
Block a user