1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 16: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/suspend.h"
struct CSSuspendInfo
struct CSSuspendInfo final
: SuspendInfo
, Serializable
{
@@ -52,7 +52,7 @@ struct CSSuspendInfo
}
};
class CommandCSSuspend
class CommandCSSuspend final
: public Command
{
public:
@@ -145,7 +145,7 @@ public:
}
};
class CommandCSUnSuspend
class CommandCSUnSuspend final
: public Command
{
public:
@@ -197,7 +197,7 @@ public:
}
};
class CSSuspend
class CSSuspend final
: public Module
{
CommandCSSuspend commandcssuspend;
@@ -206,7 +206,7 @@ class CSSuspend
Serialize::Type suspend_type;
std::vector<Anope::string> show;
struct trim
struct trim final
{
Anope::string operator()(Anope::string s) const
{