1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 06:23:14 +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
@@ -14,7 +14,7 @@
static ServiceReference<NickServService> nickserv("NickServService", "NickServ");
struct ForbidDataImpl
struct ForbidDataImpl final
: ForbidData
, Serializable
{
@@ -61,7 +61,7 @@ Serializable* ForbidDataImpl::Unserialize(Serializable *obj, Serialize::Data &da
return fb;
}
class MyForbidService
class MyForbidService final
: public ForbidService
{
Serialize::Checker<std::vector<ForbidData *>[FT_SIZE - 1]> forbid_data;
@@ -149,7 +149,7 @@ public:
}
};
class CommandOSForbid
class CommandOSForbid final
: public Command
{
ServiceReference<ForbidService> fs;
@@ -434,7 +434,7 @@ public:
}
};
class OSForbid
class OSForbid final
: public Module
{
MyForbidService forbidService;