diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/extra/m_mysql.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/extra/m_mysql.cpp')
-rw-r--r-- | modules/extra/m_mysql.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp index 2ccc36d76..d4be01f88 100644 --- a/modules/extra/m_mysql.cpp +++ b/modules/extra/m_mysql.cpp @@ -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 { |