mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 03:32:09 +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:
@@ -92,7 +92,7 @@ static void WriteExportFormatPref(int format)
|
||||
#define ID_HEADER_CHOICE 7102
|
||||
#define ID_ENCODING_CHOICE 7103
|
||||
|
||||
class ExportPCMOptions : public wxPanel
|
||||
class ExportPCMOptions final : public wxPanel
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -303,7 +303,7 @@ bool ExportPCMOptions::ValidatePair(int format)
|
||||
// ExportPCM Class
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
class ExportPCM : public ExportPlugin
|
||||
class ExportPCM final : public ExportPlugin
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user