1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 20:03: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
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/cs_mode.h"
struct ModeLockImpl
struct ModeLockImpl final
: ModeLock
, Serializable
{
@@ -35,7 +35,7 @@ struct ModeLockImpl
static Serializable* Unserialize(Serializable *obj, Serialize::Data &data);
};
struct ModeLocksImpl
struct ModeLocksImpl final
: ModeLocks
{
Serialize::Reference<ChannelInfo> ci;
@@ -244,7 +244,7 @@ Serializable* ModeLockImpl::Unserialize(Serializable *obj, Serialize::Data &data
return ml;
}
class CommandCSMode
class CommandCSMode final
: public Command
{
bool CanSet(CommandSource &source, ChannelInfo *ci, ChannelMode *cm, bool self)
@@ -793,7 +793,7 @@ public:
static Anope::map<std::pair<bool, Anope::string> > modes;
class CommandCSModes
class CommandCSModes final
: public Command
{
public:
@@ -911,7 +911,7 @@ public:
}
};
class CSMode
class CSMode final
: public Module
{
CommandCSMode commandcsmode;