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

@ -188,17 +188,17 @@ class SFXDescription : public SimDataBlock
static void initPersistFields();
// SimDataBlock.
virtual bool onAdd();
virtual void packData( BitStream* stream );
virtual void unpackData( BitStream* stream );
virtual void inspectPostApply();
bool onAdd() override;
void packData( BitStream* stream ) override;
void unpackData( BitStream* stream ) override;
void inspectPostApply() override;
/// Validates the description fixing any
/// parameters that are out of range.
void validate();
public:
SFXDescription(const SFXDescription&, bool);
virtual bool allowSubstitutions() const { return true; }
bool allowSubstitutions() const override { return true; }
};