mirror of
https://github.com/anope/anope.git
synced 2026-06-26 09:16:38 +02:00
Mark types that have no inheritors as final.
This commit is contained in:
@@ -9,18 +9,18 @@
|
||||
#include "module.h"
|
||||
#include "modules/sql.h"
|
||||
|
||||
struct SQLOper
|
||||
struct SQLOper final
|
||||
: Oper
|
||||
{
|
||||
SQLOper(const Anope::string &n, OperType *o) : Oper(n, o) { }
|
||||
};
|
||||
|
||||
class SQLOperResult
|
||||
class SQLOperResult final
|
||||
: public SQL::Interface
|
||||
{
|
||||
Reference<User> user;
|
||||
|
||||
struct SQLOperResultDeleter
|
||||
struct SQLOperResultDeleter final
|
||||
{
|
||||
SQLOperResult *res;
|
||||
SQLOperResultDeleter(SQLOperResult *r) : res(r) { }
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class ModuleSQLOper
|
||||
class ModuleSQLOper final
|
||||
: public Module
|
||||
{
|
||||
Anope::string engine;
|
||||
|
||||
Reference in New Issue
Block a user