1
0
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:
Sadie Powell
2024-01-23 13:54:16 +00:00
parent a6a0f6c447
commit 72acef4e15
227 changed files with 771 additions and 771 deletions
+4 -4
View File
@@ -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;