summaryrefslogtreecommitdiff
path: root/include/modules/sql.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
commit6538641e8703084460df70d04196ac271eff1266 (patch)
tree2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /include/modules/sql.h
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'include/modules/sql.h')
-rw-r--r--include/modules/sql.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 607f8bcd9..ec21c7b9f 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -13,7 +13,7 @@ namespace SQL
class Data : public Serialize::Data
{
- public:
+ public:
typedef std::map<Anope::string, std::stringstream *> Map;
Map data;
std::map<Anope::string, Type> types;
@@ -83,7 +83,7 @@ namespace SQL
*/
class Exception : public ModuleException
{
- public:
+ public:
Exception(const Anope::string &reason) : ModuleException(reason) { }
virtual ~Exception() noexcept = default;
@@ -139,12 +139,12 @@ namespace SQL
*/
class Result
{
- protected:
+ protected:
/* Rows, column, item */
std::vector<std::map<Anope::string, Anope::string> > entries;
Query query;
Anope::string error;
- public:
+ public:
unsigned int id = 0;
Anope::string finished_query;
@@ -187,7 +187,7 @@ namespace SQL
*/
class Interface
{
- public:
+ public:
Module *owner;
Interface(Module *m) : owner(m) { }
@@ -201,7 +201,7 @@ namespace SQL
*/
class Provider : public Service
{
- public:
+ public:
Provider(Module *c, const Anope::string &n) : Service(c, "SQL::Provider", n) { }
virtual void Run(Interface *i, const Query &query) = 0;