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_entrymsg.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/cs_entrymsg.cpp')
-rw-r--r-- | modules/commands/cs_entrymsg.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index 2659428a4..43055d5e5 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -12,7 +12,9 @@ #include "module.h" #include "modules/cs_entrymsg.h" -struct EntryMsgImpl : EntryMsg, Serializable +struct EntryMsgImpl + : EntryMsg + , Serializable { EntryMsgImpl() : Serializable("EntryMsg") { @@ -39,7 +41,8 @@ struct EntryMsgImpl : EntryMsg, Serializable static Serializable* Unserialize(Serializable *obj, Serialize::Data &data); }; -struct EntryMessageListImpl : EntryMessageList +struct EntryMessageListImpl + : EntryMessageList { EntryMessageListImpl(Extensible *) { } @@ -97,7 +100,8 @@ Serializable* EntryMsgImpl::Unserialize(Serializable *obj, Serialize::Data &data return m; } -class CommandEntryMessage : public Command +class CommandEntryMessage + : public Command { private: void DoList(CommandSource &source, ChannelInfo *ci) @@ -260,7 +264,8 @@ public: } }; -class CSEntryMessage : public Module +class CSEntryMessage + : public Module { CommandEntryMessage commandentrymsg; ExtensibleItem<EntryMessageListImpl> eml; |