summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /include/regchannel.h
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index a3315a5e1..29c203cf3 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -21,7 +21,8 @@ typedef Anope::hash_map<ChannelInfo *> registered_channel_map;
extern CoreExport Serialize::Checker<registered_channel_map> RegisteredChannelList;
/* AutoKick data. */
-class CoreExport AutoKick : public Serializable
+class CoreExport AutoKick
+ : public Serializable
{
public:
/* Channel this autokick is on */
@@ -43,7 +44,9 @@ public:
/* It matters that Base is here before Extensible (it is inherited by Serializable)
*/
-class CoreExport ChannelInfo : public Serializable, public Extensible
+class CoreExport ChannelInfo
+ : public Serializable
+ , public Extensible
{
/* channels who reference this one */
Anope::map<int> references;