1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 15:56:37 +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
@@ -37,7 +37,8 @@ static Anope::string GetStatusFromCode(HTTPError err)
return "501 Not Implemented";
}
class MyHTTPClient : public HTTPClient
class MyHTTPClient
: public HTTPClient
{
HTTPProvider *provider;
HTTPMessage message;
@@ -282,7 +283,9 @@ public:
}
};
class MyHTTPProvider : public HTTPProvider, public Timer
class MyHTTPProvider
: public HTTPProvider
, public Timer
{
int timeout;
std::map<Anope::string, HTTPPage *> pages;
@@ -329,7 +332,8 @@ public:
}
};
class HTTPD : public Module
class HTTPD
: public Module
{
ServiceReference<SSLService> sslref;
std::map<Anope::string, MyHTTPProvider *> providers;