mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +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
|
|
@ -62,8 +62,8 @@ public:
|
|||
EventManagerListener(): mSubscribers(64, false) {}
|
||||
|
||||
/// Called by the EventManager queue when an event is triggered. Calls all listeners subscribed to the triggered event.
|
||||
virtual bool onMessageReceived( StringTableEntry queue, const char* event, const char* data );
|
||||
virtual bool onMessageObjectReceived( StringTableEntry queue, Message *msg ) { return true; };
|
||||
bool onMessageReceived( StringTableEntry queue, const char* event, const char* data ) override;
|
||||
bool onMessageObjectReceived( StringTableEntry queue, Message *msg ) override { return true; };
|
||||
};
|
||||
|
||||
/// @addtogroup msgsys Message System
|
||||
|
|
|
|||
|
|
@ -109,8 +109,8 @@ public:
|
|||
//-----------------------------------------------------------------------------
|
||||
static SimObjectId getNextMessageID();
|
||||
|
||||
virtual bool onAdd();
|
||||
virtual void onRemove();
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/// @brief Get the type of the message
|
||||
|
|
|
|||
|
|
@ -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