mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +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:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "SampleFormat.h"
|
||||
|
||||
class Resample
|
||||
class Resample final
|
||||
{
|
||||
public:
|
||||
/// Resamplers may have more than one method, offering a
|
||||
@@ -33,7 +33,7 @@ class Resample
|
||||
// dMinFactor and dMaxFactor specify the range of factors for variable-rate resampling.
|
||||
// For constant-rate, pass the same value for both.
|
||||
Resample(const bool useBestMethod, const double dMinFactor, const double dMaxFactor);
|
||||
virtual ~Resample();
|
||||
~Resample();
|
||||
|
||||
static int GetNumMethods();
|
||||
static wxString GetMethodName(int index);
|
||||
|
||||
Reference in New Issue
Block a user