virtuals removed

virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:13:00 +00:00
parent 88a43f3137
commit efbe5e90f5
255 changed files with 2164 additions and 2164 deletions

View file

@ -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

View file

@ -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