mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-18 06:31:20 +01:00
Replace virtual with override wherever possible; eliminate needless virtual...
... for functions in final classes. override is like const -- it's not necessary, but it helps the compiler to catch mistakes. There may be some overriding functions not explicitly declared virtual and I did not identify such cases, in which I might also add override.
This commit is contained in:
@@ -27,17 +27,17 @@ public:
|
||||
|
||||
// IdentInterface implementation
|
||||
|
||||
virtual wxString GetSymbol();
|
||||
virtual wxString GetDescription();
|
||||
wxString GetSymbol() override;
|
||||
wxString GetDescription() override;
|
||||
|
||||
// EffectIdentInterface implementation
|
||||
|
||||
virtual EffectType GetType();
|
||||
virtual bool IsInteractive();
|
||||
EffectType GetType() override;
|
||||
bool IsInteractive() override;
|
||||
|
||||
// Effect implementation
|
||||
|
||||
virtual bool Process();
|
||||
bool Process() override;
|
||||
|
||||
private:
|
||||
// EffectRepair implementaion
|
||||
|
||||
Reference in New Issue
Block a user