diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/extra/m_sqlite.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/extra/m_sqlite.cpp')
-rw-r--r-- | modules/extra/m_sqlite.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/extra/m_sqlite.cpp b/modules/extra/m_sqlite.cpp index 7abfc2f52..9905d2073 100644 --- a/modules/extra/m_sqlite.cpp +++ b/modules/extra/m_sqlite.cpp @@ -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; |