From 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 23 Jan 2024 13:54:16 +0000 Subject: Mark types that have no inheritors as final. --- modules/commands/ns_ajoin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/commands/ns_ajoin.cpp') diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp index f28b1d0a1..8f4b14112 100644 --- a/modules/commands/ns_ajoin.cpp +++ b/modules/commands/ns_ajoin.cpp @@ -13,14 +13,14 @@ struct AJoinEntry; -struct AJoinList +struct AJoinList final : Serialize::Checker > { AJoinList(Extensible *) : Serialize::Checker >("AJoinEntry") { } ~AJoinList(); }; -struct AJoinEntry +struct AJoinEntry final : Serializable { Serialize::Reference owner; @@ -88,7 +88,7 @@ AJoinList::~AJoinList() delete ajoin; } -class CommandNSAJoin +class CommandNSAJoin final : public Command { void DoList(CommandSource &source, NickCore *nc) @@ -300,7 +300,7 @@ public: } }; -class NSAJoin +class NSAJoin final : public Module { CommandNSAJoin commandnsajoin; -- cgit