mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 08:27:13 +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:
@@ -596,7 +596,7 @@ static wxArrayString ofqueue;
|
||||
#define IPC_APPL wxT("audacity")
|
||||
#define IPC_TOPIC wxT("System")
|
||||
|
||||
class IPCConn : public wxConnection
|
||||
class IPCConn final : public wxConnection
|
||||
{
|
||||
public:
|
||||
IPCConn()
|
||||
@@ -619,7 +619,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class IPCServ : public wxServer
|
||||
class IPCServ final : public wxServer
|
||||
{
|
||||
public:
|
||||
IPCServ(const wxString & appl)
|
||||
|
||||
Reference in New Issue
Block a user