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'
clang-tidy : Remove redundant 'virtual' and add 'override'
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
setText(m_executeCommand->name());
|
||||
}
|
||||
|
||||
~UndoRedoWrapper()
|
||||
~UndoRedoWrapper() override
|
||||
{
|
||||
delete m_executeCommand;
|
||||
}
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
virtual void undo()
|
||||
void undo() override
|
||||
{
|
||||
m_executeCommand->undo();
|
||||
}
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
virtual void redo()
|
||||
void redo() override
|
||||
{
|
||||
m_executeCommand->redo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user