summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Protocol/Authenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Authenticator.cpp b/src/Protocol/Authenticator.cpp
index 995ba1394..e23691edc 100644
--- a/src/Protocol/Authenticator.cpp
+++ b/src/Protocol/Authenticator.cpp
@@ -67,7 +67,7 @@ void cAuthenticator::Authenticate(int a_ClientID, const AString & a_UserName, co
}
cCSLock LOCK(m_CS);
- m_Queue.push_back(cUser(a_ClientID, a_UserName, a_ServerHash));
+ m_Queue.emplace_back(a_ClientID, a_UserName, a_ServerHash);
m_QueueNonempty.Set();
}