1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 03:06:37 +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
+4 -4
View File
@@ -13,7 +13,7 @@ using namespace Redis;
class MyRedisService;
class RedisSocket
class RedisSocket final
: public BinarySocket
, public ConnectionSocket
{
@@ -33,7 +33,7 @@ public:
bool Read(const char *buffer, size_t l) override;
};
class Transaction
class Transaction final
: public Interface
{
public:
@@ -74,7 +74,7 @@ public:
}
};
class MyRedisService
class MyRedisService final
: public Provider
{
public:
@@ -520,7 +520,7 @@ bool RedisSocket::Read(const char *buffer, size_t l)
}
class ModuleRedis
class ModuleRedis final
: public Module
{
std::map<Anope::string, MyRedisService *> services;