mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-24 07:05:43 +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:
@@ -48,7 +48,7 @@ END_EVENT_TABLE()
|
||||
|
||||
// LL: An alternative to this might be to just use the wxEVT_KILL_FOCUS
|
||||
// or wxEVT_ACTIVATE events.
|
||||
class AButton::Listener
|
||||
class AButton::Listener final
|
||||
: public wxEvtHandler
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user