1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 18:53:12 +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
@@ -17,7 +17,7 @@ static Anope::string object_class;
static Anope::string email_attribute;
static Anope::string username_attribute;
struct IdentifyInfo
struct IdentifyInfo final
{
Reference<User> user;
IdentifyRequest *req;
@@ -36,7 +36,7 @@ struct IdentifyInfo
}
};
class IdentifyInterface
class IdentifyInterface final
: public LDAPInterface
{
IdentifyInfo *ii;
@@ -128,7 +128,7 @@ public:
}
};
class OnIdentifyInterface
class OnIdentifyInterface final
: public LDAPInterface
{
Anope::string uid;
@@ -174,7 +174,7 @@ public:
}
};
class OnRegisterInterface
class OnRegisterInterface final
: public LDAPInterface
{
public:
@@ -191,7 +191,7 @@ public:
}
};
class ModuleLDAPAuthentication
class ModuleLDAPAuthentication final
: public Module
{
ServiceReference<LDAPProvider> ldap;