aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra/ldap.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /modules/extra/ldap.cpp
parentMerge branch 'insp4' into master. (diff)
Switch typedefs to using statements.
Diffstat (limited to 'modules/extra/ldap.cpp')
-rw-r--r--modules/extra/ldap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/ldap.cpp b/modules/extra/ldap.cpp
index cec60c642..14cb433e7 100644
--- a/modules/extra/ldap.cpp
+++ b/modules/extra/ldap.cpp
@@ -356,7 +356,7 @@ private:
}
public:
- typedef std::vector<LDAPRequest*> query_queue;
+ using query_queue = std::vector<LDAPRequest*>;
query_queue queries, results;
std::mutex process_mutex; /* held when processing requests not in either queue */
@@ -608,7 +608,7 @@ public:
class ModuleLDAP final
: public Module
{
- typedef insp::flat_map<std::string, LDAPService*> ServiceMap;
+ using ServiceMap = insp::flat_map<std::string, LDAPService*>;
ServiceMap LDAPServices;
public: