mirror of
https://github.com/anope/anope.git
synced 2026-07-03 22:23:12 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "module.h"
|
||||
|
||||
class CommandMSList
|
||||
class CommandMSList final
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
|
||||
if (!param.empty() && isdigit(param[0]))
|
||||
{
|
||||
class MemoListCallback
|
||||
class MemoListCallback final
|
||||
: public NumberList
|
||||
{
|
||||
ListFormatter &list;
|
||||
@@ -151,7 +151,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class MSList
|
||||
class MSList final
|
||||
: public Module
|
||||
{
|
||||
CommandMSList commandmslist;
|
||||
|
||||
Reference in New Issue
Block a user