rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -42,14 +42,14 @@ public:
/*C*/ afxXM_HeightSamplerData();
/*C*/ afxXM_HeightSamplerData(const afxXM_HeightSamplerData&, bool = false);
void packData(BitStream* stream);
void unpackData(BitStream* stream);
void packData(BitStream* stream) override;
void unpackData(BitStream* stream) override;
virtual bool allowSubstitutions() const { return true; }
bool allowSubstitutions() const override { return true; }
static void initPersistFields();
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
afxXM_Base* create(afxEffectWrapper* fx, bool on_server) override;
DECLARE_CONOBJECT(afxXM_HeightSamplerData);
};
@ -65,7 +65,7 @@ class afxXM_HeightSampler : public afxXM_WeightedBase
public:
/*C*/ afxXM_HeightSampler(afxXM_HeightSamplerData*, afxEffectWrapper*);
virtual void updateParams(F32 dt, F32 elapsed, afxXM_Params& params);
void updateParams(F32 dt, F32 elapsed, afxXM_Params& params) override;
};
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//