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/os_info.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/os_info.cpp')
-rw-r--r-- | modules/commands/os_info.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp index c5036e04a..2e293c8f7 100644 --- a/modules/commands/os_info.cpp +++ b/modules/commands/os_info.cpp @@ -8,7 +8,7 @@ #include "module.h" -struct OperInfo +struct OperInfo final : Serializable { Anope::string target; @@ -33,7 +33,7 @@ struct OperInfo static Serializable *Unserialize(Serializable *obj, Serialize::Data &data); }; -struct OperInfos +struct OperInfos final : Serialize::Checker<std::vector<OperInfo *> > { OperInfos(Extensible *) : Serialize::Checker<std::vector<OperInfo *> >("OperInfo") { } @@ -95,7 +95,7 @@ Serializable *OperInfo::Unserialize(Serializable *obj, Serialize::Data &data) return o; } -class CommandOSInfo +class CommandOSInfo final : public Command { public: @@ -248,7 +248,7 @@ public: } }; -class OSInfo +class OSInfo final : public Module { CommandOSInfo commandosinfo; |