mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-10 16:35:32 +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:
@@ -39,7 +39,7 @@
|
||||
// ExportCLOptions
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
class ExportCLOptions : public wxPanel
|
||||
class ExportCLOptions final : public wxPanel
|
||||
{
|
||||
public:
|
||||
ExportCLOptions(wxWindow *parent, int format);
|
||||
@@ -206,7 +206,7 @@ static void Drain(wxInputStream *s, wxString *o)
|
||||
}
|
||||
}
|
||||
|
||||
class ExportCLProcess : public wxProcess
|
||||
class ExportCLProcess final : public wxProcess
|
||||
{
|
||||
public:
|
||||
ExportCLProcess(wxString *output)
|
||||
@@ -274,7 +274,7 @@ struct wav_header {
|
||||
wxUint32 dataLen; /* length of all samples in bytes */
|
||||
};
|
||||
|
||||
class ExportCL : public ExportPlugin
|
||||
class ExportCL final : public ExportPlugin
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user