1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 20:53:13 +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
+9 -4
View File
@@ -12,7 +12,9 @@
#include "module.h"
#include "modules/cs_log.h"
struct LogSettingImpl : LogSetting, Serializable
struct LogSettingImpl
: LogSetting
, Serializable
{
LogSettingImpl() : Serializable("LogSetting")
{
@@ -77,7 +79,8 @@ struct LogSettingImpl : LogSetting, Serializable
}
};
struct LogSettingsImpl : LogSettings
struct LogSettingsImpl
: LogSettings
{
LogSettingsImpl(Extensible *) { }
@@ -97,7 +100,8 @@ struct LogSettingsImpl : LogSettings
}
};
class CommandCSLog : public Command
class CommandCSLog
: public Command
{
public:
CommandCSLog(Module *creator) : Command(creator, "chanserv/log", 1, 4)
@@ -281,7 +285,8 @@ public:
}
};
class CSLog : public Module
class CSLog
: public Module
{
ServiceReference<MemoServService> MSService;
CommandCSLog commandcslog;