clang-tidy : Remove redundant 'virtual' and add 'override'

This commit is contained in:
Magne Sjaastad
2018-10-18 19:45:57 +02:00
parent c8285602b1
commit 6346ed012c
599 changed files with 2056 additions and 2056 deletions

View File

@@ -40,7 +40,7 @@ class RimWellLogFileCurve : public RimWellLogCurve
public:
RimWellLogFileCurve();
virtual ~RimWellLogFileCurve();
~RimWellLogFileCurve() override;
void setWellPath(RimWellPath* wellPath);
RimWellPath* wellPath() const;
@@ -48,22 +48,22 @@ public:
void setWellLogFile(RimWellLogFile* wellLogFile);
// Overrides from RimWellLogPlotCurve
virtual QString wellName() const override;
virtual QString wellLogChannelName() const override;
QString wellName() const override;
QString wellLogChannelName() const override;
RimWellLogFile* wellLogFile() const;
protected:
// Overrides from RimWellLogPlotCurve
virtual QString createCurveAutoName() override;
virtual void onLoadDataAndUpdate(bool updateParentPlot) override;
QString createCurveAutoName() override;
void onLoadDataAndUpdate(bool updateParentPlot) override;
// Pdm overrrides
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
virtual void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
virtual void defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "") override;
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override;
virtual void initAfterRead() override;
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
void defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "") override;
QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override;
void initAfterRead() override;
bool isRftPlotChild() const;