1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 06:56:40 +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
+7 -3
View File
@@ -14,7 +14,8 @@
using namespace SQL;
class SQLSQLInterface : public Interface
class SQLSQLInterface
: public Interface
{
public:
SQLSQLInterface(Module *o) : Interface(o) { }
@@ -33,7 +34,8 @@ public:
}
};
class ResultSQLSQLInterface : public SQLSQLInterface
class ResultSQLSQLInterface
: public SQLSQLInterface
{
Reference<Serializable> obj;
@@ -55,7 +57,9 @@ public:
}
};
class DBSQL : public Module, public Pipe
class DBSQL
: public Module
, public Pipe
{
ServiceReference<Provider> sql;
SQLSQLInterface sqlinterface;