diff options
| author | 2021-12-20 20:00:03 +0000 | |
|---|---|---|
| committer | 2021-12-20 20:19:40 +0000 | |
| commit | 421e8c8c793740aaf34feff761716c1c51d8f04e (patch) | |
| tree | b3bf0e3e8c3b7fd2beeefbe89fff8f25b12f2846 /include/modules/sql.h | |
| parent | Deduplicate xline adding code in the dnsbl module. (diff) | |
Add the final keyword to all remaining classes that can have it.
Diffstat (limited to 'include/modules/sql.h')
| -rw-r--r-- | include/modules/sql.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h index 46b074862..3447dc8e4 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -69,7 +69,8 @@ namespace SQL } /** Represents the result of an SQL query. */ -class SQL::Result : public Cullable +class SQL::Result + : public Cullable { public: /** @@ -108,7 +109,7 @@ class SQL::Result : public Cullable * The error string varies from database software to database software * and should be used to display informational error messages to users. */ -class SQL::Error +class SQL::Error final { private: /** The custom error message if one has been specified. */ @@ -166,7 +167,8 @@ class SQL::Error * You should store whatever information is needed to have the callbacks work in * this object (UID of user, channel name, etc). */ -class SQL::Query : public Cullable +class SQL::Query + : public Cullable { protected: /** Creates a new SQL query. */ @@ -195,7 +197,8 @@ class SQL::Query : public Cullable /** * Provider object for SQL servers */ -class SQL::Provider : public DataProvider +class SQL::Provider + : public DataProvider { private: /** The name of the database tag in the config. */ |
