1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +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:
Paul Licameli
2016-02-24 01:06:47 -05:00
parent 74121c1494
commit 990080ae7d
169 changed files with 1652 additions and 1639 deletions

View File

@@ -26,7 +26,7 @@ class WarningsPrefs final : public PrefsPanel
public:
WarningsPrefs(wxWindow * parent);
~WarningsPrefs();
virtual bool Apply();
bool Apply() override;
private:
void Populate();
@@ -36,6 +36,6 @@ class WarningsPrefs final : public PrefsPanel
class WarningsPrefsFactory final : public PrefsPanelFactory
{
public:
virtual PrefsPanel *Create(wxWindow *parent);
PrefsPanel *Create(wxWindow *parent) override;
};
#endif