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

clang-tidy : Remove redundant 'virtual' and add 'override'
This commit is contained in:
Magne Sjaastad
2018-10-18 16:35:51 +02:00
parent 3569b3f375
commit 764fb65e8e
69 changed files with 325 additions and 324 deletions

View File

@@ -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();
}