diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/m_redis.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/m_redis.cpp')
-rw-r--r-- | modules/m_redis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_redis.cpp b/modules/m_redis.cpp index b5a82985a..6aa62bb29 100644 --- a/modules/m_redis.cpp +++ b/modules/m_redis.cpp @@ -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; |