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 /include/modules/ldap.h | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'include/modules/ldap.h')
-rw-r--r-- | include/modules/ldap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/ldap.h b/include/modules/ldap.h index 37087198d..2342bd1ba 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -16,7 +16,7 @@ public: virtual ~LDAPException() noexcept = default; }; -struct LDAPModification +struct LDAPModification final { enum LDAPOperation { @@ -31,7 +31,7 @@ struct LDAPModification }; typedef std::vector<LDAPModification> LDAPMods; -struct LDAPAttributes +struct LDAPAttributes final : public std::map<Anope::string, std::vector<Anope::string>> { size_t size(const Anope::string &attr) const @@ -75,7 +75,7 @@ enum QueryType QUERY_MODIFY }; -struct LDAPResult +struct LDAPResult final { std::vector<LDAPAttributes> messages; Anope::string error; |