From 7010a92426d2c3ab0cea5ba0d36a04bc6b52349f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 15 Dec 2014 17:48:52 +0100 Subject: Change type of some associative containers to their flat versions, including Extensible storage --- src/modules/extra/m_ldap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_ldap.cpp') 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 ServiceMap; + typedef insp::flat_map ServiceMap; ServiceMap LDAPServices; public: @@ -610,7 +610,7 @@ class ModuleLDAP : public Module ~ModuleLDAP() { - for (std::map::iterator i = LDAPServices.begin(); i != LDAPServices.end(); ++i) + for (ServiceMap::iterator i = LDAPServices.begin(); i != LDAPServices.end(); ++i) { LDAPService* conn = i->second; conn->join(); -- cgit v1.2.3