1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 13:56:38 +02:00

Mark types that have no inheritors as final.

This commit is contained in:
Sadie Powell
2024-01-23 13:54:16 +00:00
parent a6a0f6c447
commit 72acef4e15
227 changed files with 771 additions and 771 deletions
+3 -3
View File
@@ -94,7 +94,7 @@ else \
#define OLD_NEWS_OPER 1
#define OLD_NEWS_RANDOM 2
static struct mlock_info
static struct mlock_info final
{
char c;
uint32_t m;
@@ -309,7 +309,7 @@ static char *strscpy(char *d, const char *s, size_t len)
return d_orig;
}
struct dbFILE
struct dbFILE final
{
int mode; /* 'r' for reading, 'w' for writing */
FILE *fp; /* The normal file descriptor */
@@ -1297,7 +1297,7 @@ static void LoadNews()
close_db(f);
}
class DBOld
class DBOld final
: public Module
{
PrimitiveExtensibleItem<uint32_t> mlock_on, mlock_off, mlock_limit;