summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 13:54:16 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 16:53:06 +0000
commit72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch)
treefc0a965612b45478e3b6f1566641df12790a818d /include/protocol.h
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/protocol.h b/include/protocol.h
index e2bee5317..c21e4ae84 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -245,7 +245,7 @@ public:
virtual Anope::string NormalizeMask(const Anope::string &mask);
};
-class CoreExport MessageSource
+class CoreExport MessageSource final
{
Anope::string source;
User *u = nullptr;
@@ -285,7 +285,7 @@ public:
};
/** MessageTokenizer allows tokens in the IRC wire format to be read from a string */
-class CoreExport MessageTokenizer
+class CoreExport MessageTokenizer final
{
private:
/** The message we are parsing tokens from. */