mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-31 19:44:54 +02: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:
@@ -42,7 +42,7 @@
|
||||
// ExportOGGOptions
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
class ExportOGGOptions : public wxPanel
|
||||
class ExportOGGOptions final : public wxPanel
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -123,7 +123,7 @@ bool ExportOGGOptions::TransferDataFromWindow()
|
||||
|
||||
#define SAMPLES_PER_RUN 8192
|
||||
|
||||
class ExportOGG : public ExportPlugin
|
||||
class ExportOGG final : public ExportPlugin
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user