1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 21: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
+4 -4
View File
@@ -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;