1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 20:46:38 +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,9 +14,9 @@ using namespace DNS;
static ServiceReference<XLineManager> akills("XLineManager", "xlinemanager/sgline");
static ServiceReference<Manager> dnsmanager("DNS::Manager", "dns/manager");
struct Blacklist
struct Blacklist final
{
struct Reply
struct Reply final
{
int code = 0;
Anope::string reason;
@@ -39,7 +39,7 @@ struct Blacklist
}
};
class DNSBLResolver
class DNSBLResolver final
: public Request
{
Reference<User> user;
@@ -95,7 +95,7 @@ public:
}
};
class ModuleDNSBL
class ModuleDNSBL final
: public Module
{
std::vector<Blacklist> blacklists;