mirror of
https://github.com/anope/anope.git
synced 2026-06-30 03:36:38 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -31,7 +31,7 @@ static ExtensibleItem<CSMiscData> *GetItem(const Anope::string &name)
|
||||
return it;
|
||||
}
|
||||
|
||||
struct CSMiscData
|
||||
struct CSMiscData final
|
||||
: MiscData
|
||||
, Serializable
|
||||
{
|
||||
@@ -90,7 +90,7 @@ static Anope::string GetAttribute(const Anope::string &command)
|
||||
return command;
|
||||
}
|
||||
|
||||
class CommandCSSetMisc
|
||||
class CommandCSSetMisc final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -167,7 +167,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CSSetMisc
|
||||
class CSSetMisc final
|
||||
: public Module
|
||||
{
|
||||
CommandCSSetMisc commandcssetmisc;
|
||||
|
||||
Reference in New Issue
Block a user