1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 09:16: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
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/cs_entrymsg.h"
struct EntryMsgImpl
struct EntryMsgImpl final
: EntryMsg
, Serializable
{
@@ -41,7 +41,7 @@ struct EntryMsgImpl
static Serializable* Unserialize(Serializable *obj, Serialize::Data &data);
};
struct EntryMessageListImpl
struct EntryMessageListImpl final
: EntryMessageList
{
EntryMessageListImpl(Extensible *) { }
@@ -100,7 +100,7 @@ Serializable* EntryMsgImpl::Unserialize(Serializable *obj, Serialize::Data &data
return m;
}
class CommandEntryMessage
class CommandEntryMessage final
: public Command
{
private:
@@ -264,7 +264,7 @@ public:
}
};
class CSEntryMessage
class CSEntryMessage final
: public Module
{
CommandEntryMessage commandentrymsg;