mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 14:16:28 +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:
@@ -31,7 +31,7 @@ class LabelTrack;
|
||||
class ShuttleGui;
|
||||
class TrackListIterator;
|
||||
|
||||
class ExportMultiple : public wxDialog
|
||||
class ExportMultiple final : public wxDialog
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -169,7 +169,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class SuccessDialog : public wxDialog
|
||||
class SuccessDialog final : public wxDialog
|
||||
{
|
||||
public:
|
||||
SuccessDialog(wxWindow *parent, wxWindowID id, const wxString &title) :
|
||||
@@ -181,7 +181,7 @@ private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
class MouseEvtHandler : public wxEvtHandler
|
||||
class MouseEvtHandler final : public wxEvtHandler
|
||||
{
|
||||
public:
|
||||
void OnMouse(wxMouseEvent& event);
|
||||
|
||||
Reference in New Issue
Block a user