1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 08:33: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
+6 -6
View File
@@ -34,7 +34,7 @@ class MySQLService;
/** A query request
*/
struct QueryRequest
struct QueryRequest final
{
/* The connection to the database */
MySQLService *service;
@@ -47,7 +47,7 @@ struct QueryRequest
};
/** A query result */
struct QueryResult
struct QueryResult final
{
/* The interface to send the data back on */
Interface *sqlinterface;
@@ -59,7 +59,7 @@ struct QueryResult
/** A MySQL result
*/
class MySQLResult
class MySQLResult final
: public Result
{
MYSQL_RES *res = nullptr;
@@ -108,7 +108,7 @@ public:
/** A MySQL connection, there can be multiple
*/
class MySQLService
class MySQLService final
: public Provider
{
std::map<Anope::string, std::set<Anope::string> > active_schema;
@@ -158,7 +158,7 @@ public:
/** The SQL thread used to execute queries
*/
class DispatcherThread
class DispatcherThread final
: public Thread
, public Condition
{
@@ -171,7 +171,7 @@ public:
class ModuleSQL;
static ModuleSQL *me;
class ModuleSQL
class ModuleSQL final
: public Module
, public Pipe
{