diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-12-19 15:24:02 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-12-19 15:24:02 +0100 |
commit | c44433dad279aa8ad95fc936ce5d3c671fbf9aa3 (patch) | |
tree | ea03fa09e688a36f8e75f137954e60b762404b2a /src/modules/extra/m_ldap.cpp | |
parent | 6d25ad273c7fd1d21b9c392678f3472eb53c6e83 (diff) | |
parent | 7010a92426d2c3ab0cea5ba0d36a04bc6b52349f (diff) |
Merge branch 'master+flatmap'
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
-rw-r--r-- | src/modules/extra/m_ldap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp index d696fadfb..10469f370 100644 --- a/src/modules/extra/m_ldap.cpp +++ b/src/modules/extra/m_ldap.cpp @@ -532,7 +532,7 @@ class LDAPService : public LDAPProvider, public SocketThread class ModuleLDAP : public Module { - typedef std::map<std::string, LDAPService*> ServiceMap; + typedef insp::flat_map<std::string, LDAPService*> ServiceMap; ServiceMap LDAPServices; public: @@ -610,7 +610,7 @@ class ModuleLDAP : public Module ~ModuleLDAP() { - for (std::map<std::string, LDAPService*>::iterator i = LDAPServices.begin(); i != LDAPServices.end(); ++i) + for (ServiceMap::iterator i = LDAPServices.begin(); i != LDAPServices.end(); ++i) { LDAPService* conn = i->second; conn->join(); |