diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/commands/ns_cert.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/ns_cert.cpp')
-rw-r--r-- | modules/commands/ns_cert.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/ns_cert.cpp b/modules/commands/ns_cert.cpp index 8c874ad81..389b49cf5 100644 --- a/modules/commands/ns_cert.cpp +++ b/modules/commands/ns_cert.cpp @@ -14,7 +14,7 @@ static Anope::hash_map<NickCore *> certmap; -struct CertServiceImpl +struct CertServiceImpl final : CertService { CertServiceImpl(Module *o) : CertService(o) { } @@ -28,7 +28,7 @@ struct CertServiceImpl } }; -struct NSCertListImpl +struct NSCertListImpl final : NSCertList { Serialize::Reference<NickCore> nc; @@ -121,7 +121,7 @@ public: nc->Shrink<NSCertList>("certificates"); } - struct ExtensibleItem + struct ExtensibleItem final : ::ExtensibleItem<NSCertListImpl> { ExtensibleItem(Module *m, const Anope::string &ename) : ::ExtensibleItem<NSCertListImpl>(m, ename) { } @@ -163,7 +163,7 @@ public: }; }; -class CommandNSCert +class CommandNSCert final : public Command { private: @@ -342,7 +342,7 @@ public: } }; -class NSCert +class NSCert final : public Module { CommandNSCert commandnscert; |