mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +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:
@@ -69,7 +69,7 @@
|
||||
|
||||
#define DESC _("WAV, AIFF, and other uncompressed types")
|
||||
|
||||
class PCMImportPlugin : public ImportPlugin
|
||||
class PCMImportPlugin final : public ImportPlugin
|
||||
{
|
||||
public:
|
||||
PCMImportPlugin()
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class PCMImportFileHandle : public ImportFileHandle
|
||||
class PCMImportFileHandle final : public ImportFileHandle
|
||||
{
|
||||
public:
|
||||
PCMImportFileHandle(wxString name, SNDFILE *file, SF_INFO info);
|
||||
|
Reference in New Issue
Block a user