aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_ldap.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-10 20:57:56 +0000
committerGravatar Sadie Powell2023-01-10 21:27:18 +0000
commit1b2916c8451506adccf3ab0a56bbf836d9f3cb36 (patch)
tree8675a6bf6fdf97b0f7dba5449fe59f1f669986a2 /src/modules/extra/m_ldap.cpp
parentFix calling the base Set/Unset implementation in ListExtItem. (diff)
Avoid copying shared_ptr<ConfigTag> when not necessary.
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
-rw-r--r--src/modules/extra/m_ldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index a5eb4254f..99ba8dcd7 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -349,7 +349,7 @@ public:
query_queue queries, results;
std::mutex process_mutex; /* held when processing requests not in either queue */
- LDAPService(Module* c, std::shared_ptr<ConfigTag> tag)
+ LDAPService(Module* c, const std::shared_ptr<ConfigTag>& tag)
: LDAPProvider(c, "LDAP/" + tag->getString("id"))
, config(tag)
{