mirror of
https://github.com/anope/anope.git
synced 2026-07-04 11:03:14 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "module.h"
|
||||
|
||||
struct MyOper
|
||||
struct MyOper final
|
||||
: Oper
|
||||
, Serializable
|
||||
{
|
||||
@@ -48,7 +48,7 @@ struct MyOper
|
||||
}
|
||||
};
|
||||
|
||||
class CommandOSOper
|
||||
class CommandOSOper final
|
||||
: public Command
|
||||
{
|
||||
bool HasPrivs(CommandSource &source, OperType *ot) const
|
||||
@@ -255,7 +255,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class OSOper
|
||||
class OSOper final
|
||||
: public Module
|
||||
{
|
||||
Serialize::Type myoper_type;
|
||||
|
||||
Reference in New Issue
Block a user