1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 13:12:17 +01:00

Harmlessly qualify classes as final (or explicitly comment not)...

... Should have no effect on generated code, except perhaps some slight faster
virtual function calls.  Mostly useful as documentation of design intent.

Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
This commit is contained in:
Paul Licameli
2016-02-24 01:06:39 -05:00
parent e2f7e5f6f6
commit 7824e94030
261 changed files with 480 additions and 472 deletions

View File

@@ -259,7 +259,7 @@ static void InitMP3_Statics()
}
}
class ExportMP3Options : public wxPanel
class ExportMP3Options final : public wxPanel
{
public:
@@ -556,7 +556,7 @@ int ExportMP3Options::FindIndex(CHOICES *choices, int cnt, int needle, int def)
#define ID_BROWSE 5000
#define ID_DLOAD 5001
class FindDialog : public wxDialog
class FindDialog final : public wxDialog
{
public:
@@ -1551,7 +1551,7 @@ static void dump_config( lame_global_flags* gfp )
// ExportMP3
//----------------------------------------------------------------------------
class ExportMP3 : public ExportPlugin
class ExportMP3 final : public ExportPlugin
{
public: