aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authserver/Server/AuthServer.cpp')
-rw-r--r--src/server/authserver/Server/AuthServer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/server/authserver/Server/AuthServer.cpp b/src/server/authserver/Server/AuthServer.cpp
index a699734be79..5c3ef247254 100644
--- a/src/server/authserver/Server/AuthServer.cpp
+++ b/src/server/authserver/Server/AuthServer.cpp
@@ -25,15 +25,15 @@ using boost::asio::ip::tcp;
void AuthServer::AsyncAccept()
{
- _acceptor.async_accept(_socket, [this](boost::system::error_code error)
- {
- if (!error)
- {
- std::make_shared<AuthSession>(std::move(_socket))->Start();
- }
-
- AsyncAccept();
- });
+ _acceptor.async_accept(_socket, [this](boost::system::error_code error)
+ {
+ if (!error)
+ {
+ std::make_shared<AuthSession>(std::move(_socket))->Start();
+ }
+
+ AsyncAccept();
+ });
}