mirror of
https://github.com/anope/anope.git
synced 2026-07-07 20:23:13 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -28,7 +28,7 @@ enum DefconLevel
|
||||
|
||||
bool DefConModesSet = false;
|
||||
|
||||
struct DefconConfig
|
||||
struct DefconConfig final
|
||||
{
|
||||
std::vector<std::bitset<32> > DefCon;
|
||||
std::set<Anope::string> DefConModesOn, DefConModesOff;
|
||||
@@ -105,7 +105,7 @@ static ServiceReference<GlobalService> GlobalService("GlobalService", "Global");
|
||||
|
||||
static Timer *timeout;
|
||||
|
||||
class DefConTimeout
|
||||
class DefConTimeout final
|
||||
: public Timer
|
||||
{
|
||||
int level;
|
||||
@@ -145,7 +145,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CommandOSDefcon
|
||||
class CommandOSDefcon final
|
||||
: public Command
|
||||
{
|
||||
void SendLevels(CommandSource &source)
|
||||
@@ -246,7 +246,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class OSDefcon
|
||||
class OSDefcon final
|
||||
: public Module
|
||||
{
|
||||
ServiceReference<SessionService> session_service;
|
||||
|
||||
Reference in New Issue
Block a user