1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 03: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
+5 -5
View File
@@ -14,7 +14,7 @@
static ServiceReference<NickServService> nickserv("NickServService", "NickServ");
struct NSSuspendInfo
struct NSSuspendInfo final
: SuspendInfo
, Serializable
{
@@ -54,7 +54,7 @@ struct NSSuspendInfo
}
};
class CommandNSSuspend
class CommandNSSuspend final
: public Command
{
public:
@@ -153,7 +153,7 @@ public:
}
};
class CommandNSUnSuspend
class CommandNSUnSuspend final
: public Command
{
public:
@@ -203,7 +203,7 @@ public:
}
};
class NSSuspend
class NSSuspend final
: public Module
{
CommandNSSuspend commandnssuspend;
@@ -212,7 +212,7 @@ class NSSuspend
Serialize::Type suspend_type;
std::vector<Anope::string> show;
struct trim
struct trim final
{
Anope::string operator()(Anope::string s) const
{