mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-tidy : Remove redundant 'virtual' and add 'override'
This commit is contained in:
@@ -43,25 +43,25 @@ class RimEclipseResultCase : public RimEclipseCase
|
||||
|
||||
public:
|
||||
RimEclipseResultCase();
|
||||
virtual ~RimEclipseResultCase();
|
||||
~RimEclipseResultCase() override;
|
||||
|
||||
void setGridFileName(const QString& fileName);
|
||||
void setCaseInfo(const QString& userDescription, const QString& fileName);
|
||||
void setSourSimFileName(const QString& fileName);
|
||||
bool hasSourSimFile();
|
||||
|
||||
virtual bool openEclipseGridFile();
|
||||
bool openEclipseGridFile() override;
|
||||
|
||||
bool importGridAndResultMetaData(bool showTimeStepFilter);
|
||||
|
||||
virtual void reloadEclipseGridFile();
|
||||
void reloadEclipseGridFile() override;
|
||||
bool openAndReadActiveCellData(RigEclipseCaseData* mainEclipseCase);
|
||||
void readGridDimensions(std::vector< std::vector<int> >& gridDimensions);
|
||||
|
||||
// Overrides from RimCase
|
||||
virtual QString locationOnDisc() const;
|
||||
virtual QString gridFileName() const { return caseFileName();}
|
||||
virtual void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath);
|
||||
QString locationOnDisc() const override;
|
||||
QString gridFileName() const override { return caseFileName();}
|
||||
void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath) override;
|
||||
|
||||
RimFlowDiagSolution* defaultFlowDiagSolution();
|
||||
std::vector<RimFlowDiagSolution*> flowDiagSolutions();
|
||||
@@ -70,8 +70,8 @@ public:
|
||||
RifReaderEclipseRft* rftReader();
|
||||
|
||||
protected:
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
virtual void defineEditorAttribute(const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute);
|
||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
void defineEditorAttribute(const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute) override;
|
||||
|
||||
private:
|
||||
void loadAndUpdateSourSimData();
|
||||
@@ -79,9 +79,9 @@ private:
|
||||
private:
|
||||
cvf::ref<RifReaderInterface> createMockModel(QString modelName);
|
||||
|
||||
virtual void initAfterRead();
|
||||
void initAfterRead() override;
|
||||
|
||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering );
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
|
||||
cvf::ref<RigFlowDiagSolverInterface> m_flowDagSolverInterface;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user