mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06: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:
@@ -167,7 +167,7 @@ class FFmpegImportFileHandle;
|
||||
|
||||
/// A representative of FFmpeg loader in
|
||||
/// the Audacity import plugin list
|
||||
class FFmpegImportPlugin : public ImportPlugin
|
||||
class FFmpegImportPlugin final : public ImportPlugin
|
||||
{
|
||||
public:
|
||||
FFmpegImportPlugin():
|
||||
@@ -186,7 +186,7 @@ public:
|
||||
};
|
||||
|
||||
///! Does acual import, returned by FFmpegImportPlugin::Open
|
||||
class FFmpegImportFileHandle : public ImportFileHandle
|
||||
class FFmpegImportFileHandle final : public ImportFileHandle
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user