diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/commands/cs_suspend.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/cs_suspend.cpp')
-rw-r--r-- | modules/commands/cs_suspend.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp index dccad5a5f..6d5322753 100644 --- a/modules/commands/cs_suspend.cpp +++ b/modules/commands/cs_suspend.cpp @@ -12,7 +12,9 @@ #include "module.h" #include "modules/suspend.h" -struct CSSuspendInfo : SuspendInfo, Serializable +struct CSSuspendInfo + : SuspendInfo + , Serializable { CSSuspendInfo(Extensible *) : Serializable("CSSuspendInfo") { } @@ -50,7 +52,8 @@ struct CSSuspendInfo : SuspendInfo, Serializable } }; -class CommandCSSuspend : public Command +class CommandCSSuspend + : public Command { public: CommandCSSuspend(Module *creator) : Command(creator, "chanserv/suspend", 2, 3) @@ -142,7 +145,8 @@ public: } }; -class CommandCSUnSuspend : public Command +class CommandCSUnSuspend + : public Command { public: CommandCSUnSuspend(Module *creator) : Command(creator, "chanserv/unsuspend", 1, 1) @@ -193,7 +197,8 @@ public: } }; -class CSSuspend : public Module +class CSSuspend + : public Module { CommandCSSuspend commandcssuspend; CommandCSUnSuspend commandcsunsuspend; |