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:
@@ -45,7 +45,7 @@ class RimViewWindow : public caf::PdmObject
|
||||
CAF_PDM_HEADER_INIT;
|
||||
public:
|
||||
RimViewWindow(void);
|
||||
virtual ~RimViewWindow(void);
|
||||
~RimViewWindow(void) override;
|
||||
|
||||
void loadDataAndUpdate();
|
||||
void handleMdiWindowClosed();
|
||||
@@ -81,9 +81,9 @@ protected:
|
||||
// Derived classes are not supposed to override this function. The intention is to always use m_showWindow
|
||||
// as the objectToggleField for this class. This way the visibility of a widget being part of a composite widget
|
||||
// can be controlled from the project tree using check box toggles
|
||||
virtual caf::PdmFieldHandle* objectToggleField() override final;
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
virtual void initAfterRead() override;
|
||||
caf::PdmFieldHandle* objectToggleField() final;
|
||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
void initAfterRead() override;
|
||||
|
||||
caf::PdmField<bool> m_showWindow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user