summaryrefslogtreecommitdiff
path: root/include/memo.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/memo.h
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'include/memo.h')
-rw-r--r--include/memo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/memo.h b/include/memo.h
index 5e7c1a5c9..70d8d63b7 100644
--- a/include/memo.h
+++ b/include/memo.h
@@ -14,7 +14,7 @@
#include "anope.h"
#include "serialize.h"
-class CoreExport Memo
+class CoreExport Memo final
: public Serializable
{
public:
@@ -37,7 +37,7 @@ public:
/* Memo info structures. Since both nicknames and channels can have memos,
* we encapsulate memo data in a MemoInfo to make it easier to handle.
*/
-struct CoreExport MemoInfo
+struct CoreExport MemoInfo final
{
int16_t memomax = 0;
Serialize::Checker<std::vector<Memo *> > memos;