mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
parent
88a43f3137
commit
efbe5e90f5
255 changed files with 2164 additions and 2164 deletions
|
|
@ -89,10 +89,10 @@ public:
|
|||
DECLARE_CONOBJECT(CompoundUndoAction);
|
||||
|
||||
virtual void addAction( UndoAction *action );
|
||||
virtual void undo();
|
||||
virtual void redo();
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
virtual void onDeleteNotify( SimObject* object );
|
||||
void onDeleteNotify( SimObject* object ) override;
|
||||
|
||||
U32 getNumChildren() const { return mChildren.size(); }
|
||||
};
|
||||
|
|
@ -215,10 +215,10 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual void undo() { Con::executef(this, "undo"); };
|
||||
virtual void redo() { Con::executef(this, "redo"); }
|
||||
void undo() override { Con::executef(this, "undo"); };
|
||||
void redo() override { Con::executef(this, "redo"); }
|
||||
|
||||
virtual bool onAdd()
|
||||
bool onAdd() override
|
||||
{
|
||||
// Let Parent Do Work.
|
||||
if(!Parent::onAdd())
|
||||
|
|
@ -233,7 +233,7 @@ public:
|
|||
return true;
|
||||
};
|
||||
|
||||
virtual void onRemove()
|
||||
void onRemove() override
|
||||
{
|
||||
if (mUndoManager)
|
||||
mUndoManager->removeAction((UndoAction*)this, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue