mirror of
https://github.com/anope/anope.git
synced 2026-07-04 06:13:11 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "module.h"
|
||||
#include "modules/os_session.h"
|
||||
|
||||
struct Stats
|
||||
struct Stats final
|
||||
: Serializable
|
||||
{
|
||||
static Stats *me;
|
||||
@@ -59,7 +59,7 @@ static int stats_count_servers(Server *s)
|
||||
return count;
|
||||
}
|
||||
|
||||
class CommandOSStats
|
||||
class CommandOSStats final
|
||||
: public Command
|
||||
{
|
||||
ServiceReference<XLineManager> akills, snlines, sqlines;
|
||||
@@ -257,7 +257,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class OSStats
|
||||
class OSStats final
|
||||
: public Module
|
||||
{
|
||||
CommandOSStats commandosstats;
|
||||
|
||||
Reference in New Issue
Block a user