aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/Server/SessionManager.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-12-08 20:27:41 +0100
committerfunjoker <funjoker109@gmail.com>2023-12-12 08:44:42 +0100
commita18e3ef20a5dc3af4438bb0ec1973f1c19fd071c (patch)
tree35e4bd35091cdfb0cabfa38a8f68045700f1fd1c /src/server/bnetserver/Server/SessionManager.cpp
parentc8e87e59e0649b3777138412655a787e7a8024b3 (diff)
Core/Misc: Minor code modernization - kill std::bind
(cherry picked from commit 78bcc3f52a1daa406851e7121c2b1af392fb4b3c)
Diffstat (limited to 'src/server/bnetserver/Server/SessionManager.cpp')
-rw-r--r--src/server/bnetserver/Server/SessionManager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/bnetserver/Server/SessionManager.cpp b/src/server/bnetserver/Server/SessionManager.cpp
index dd5f73a788f..6e07fcecff1 100644
--- a/src/server/bnetserver/Server/SessionManager.cpp
+++ b/src/server/bnetserver/Server/SessionManager.cpp
@@ -17,7 +17,6 @@
#include "SessionManager.h"
#include "DatabaseEnv.h"
-#include "SRP6.h"
#include "Util.h"
bool Battlenet::SessionManager::StartNetwork(Trinity::Asio::IoContext& ioContext, std::string const& bindIp, uint16 port, int threadCount)
@@ -25,7 +24,6 @@ bool Battlenet::SessionManager::StartNetwork(Trinity::Asio::IoContext& ioContext
if (!BaseSocketMgr::StartNetwork(ioContext, bindIp, port, threadCount))
return false;
- _acceptor->SetSocketFactory(std::bind(&BaseSocketMgr::GetSocketForAccept, this));
_acceptor->AsyncAcceptWithCallback<&OnSocketAccept>();
return true;
}