diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /include/modules/ldap.h | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'include/modules/ldap.h')
-rw-r--r-- | include/modules/ldap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/modules/ldap.h b/include/modules/ldap.h index 166e85fe9..37087198d 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -31,7 +31,8 @@ struct LDAPModification }; typedef std::vector<LDAPModification> LDAPMods; -struct LDAPAttributes : public std::map<Anope::string, std::vector<Anope::string> > +struct LDAPAttributes + : public std::map<Anope::string, std::vector<Anope::string>> { size_t size(const Anope::string &attr) const { @@ -122,7 +123,8 @@ public: virtual void OnDelete() { } }; -class LDAPProvider : public Service +class LDAPProvider + : public Service { public: LDAPProvider(Module *c, const Anope::string &n) : Service(c, "LDAPProvider", n) { } |