aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthServer.cpp
diff options
context:
space:
mode:
authorleak <leak@bitmx.net>2014-05-30 15:46:17 +0200
committerleak <leak@bitmx.net>2014-05-30 15:46:17 +0200
commitb520f7da018aa0d771e6589b58081e71643bf860 (patch)
treed2c8ddc58a93357e109559f301a0f38c42095495 /src/server/authserver/Server/AuthServer.cpp
parent5a363ee0e1556b58ad1d16ce2b78ae5f92e065ea (diff)
Damn you VS default settings..
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();
+ });
}