1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:36:38 +02:00

Improve the layout of types that inherit from another type.

This commit is contained in:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+6 -3
View File
@@ -19,7 +19,8 @@ using namespace SQL;
/** A SQLite result
*/
class SQLiteResult : public Result
class SQLiteResult
: public Result
{
public:
SQLiteResult(unsigned int i, const Query &q, const Anope::string &fq) : Result(i, q, fq)
@@ -38,7 +39,8 @@ public:
/** A SQLite database, there can be multiple
*/
class SQLiteService : public Provider
class SQLiteService
: public Provider
{
std::map<Anope::string, std::set<Anope::string> > active_schema;
@@ -68,7 +70,8 @@ public:
Anope::string FromUnixtime(time_t) override;
};
class ModuleSQLite : public Module
class ModuleSQLite
: public Module
{
/* SQL connections */
std::map<Anope::string, SQLiteService *> SQLiteServices;