From dec5875aca7a2e0c281388db2f25d195ad9b2a3d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 4 Oct 2021 17:07:51 +0100 Subject: Apply the final keyword to all module classes where appropriate. --- src/modules/m_spanningtree/netburst.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/netburst.cpp') diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 6d1738041..3ca58221e 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -35,7 +35,8 @@ /** * Creates FMODE messages, used only when syncing channels */ -class FModeBuilder : public CmdBuilder +class FModeBuilder final + : public CmdBuilder { static const size_t maxline = 480; std::string params; @@ -84,7 +85,7 @@ class FModeBuilder : public CmdBuilder } }; -struct TreeSocket::BurstState +struct TreeSocket::BurstState final { SpanningTreeProtocolInterface::Server server; BurstState(TreeSocket* sock) : server(sock) { } -- cgit v1.3.1-10-gc9f91