mirror of
https://github.com/anope/anope.git
synced 2026-07-05 04:33:12 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "module.h"
|
||||
#include "modules/sql.h"
|
||||
|
||||
class MySQLInterface
|
||||
class MySQLInterface final
|
||||
: public SQL::Interface
|
||||
{
|
||||
public:
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CommandCSTop
|
||||
class CommandCSTop final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms);
|
||||
};
|
||||
|
||||
class CommandCSTop10
|
||||
class CommandCSTop10 final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms);
|
||||
};
|
||||
|
||||
class CommandCSGTop
|
||||
class CommandCSGTop final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms);
|
||||
};
|
||||
|
||||
class CommandCSGTop10
|
||||
class CommandCSGTop10 final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
|
||||
class CSTop;
|
||||
static CSTop *me;
|
||||
class CSTop
|
||||
class CSTop final
|
||||
: public Module
|
||||
{
|
||||
CommandCSTop commandcstop;
|
||||
|
||||
Reference in New Issue
Block a user