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/ms_list.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/ms_list.cpp')
-rw-r--r-- | modules/commands/ms_list.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/ms_list.cpp b/modules/commands/ms_list.cpp index e1bf738fa..b527939c6 100644 --- a/modules/commands/ms_list.cpp +++ b/modules/commands/ms_list.cpp @@ -11,7 +11,8 @@ #include "module.h" -class CommandMSList : public Command +class CommandMSList + : public Command { public: CommandMSList(Module *creator) : Command(creator, "memoserv/list", 0, 2) @@ -65,7 +66,8 @@ public: if (!param.empty() && isdigit(param[0])) { - class MemoListCallback : public NumberList + class MemoListCallback + : public NumberList { ListFormatter &list; CommandSource &source; @@ -149,7 +151,8 @@ public: } }; -class MSList : public Module +class MSList + : public Module { CommandMSList commandmslist; |