aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/REST/LoginRESTService.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/REST/LoginRESTService.cpp
parentc8e87e59e0649b3777138412655a787e7a8024b3 (diff)
Core/Misc: Minor code modernization - kill std::bind
(cherry picked from commit 78bcc3f52a1daa406851e7121c2b1af392fb4b3c)
Diffstat (limited to 'src/server/bnetserver/REST/LoginRESTService.cpp')
-rw-r--r--src/server/bnetserver/REST/LoginRESTService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/bnetserver/REST/LoginRESTService.cpp b/src/server/bnetserver/REST/LoginRESTService.cpp
index 0aa8ac8fb0d..6141dc702f9 100644
--- a/src/server/bnetserver/REST/LoginRESTService.cpp
+++ b/src/server/bnetserver/REST/LoginRESTService.cpp
@@ -124,7 +124,7 @@ bool LoginRESTService::Start(Trinity::Asio::IoContext* ioContext)
_loginTicketDuration = sConfigMgr->GetIntDefault("LoginREST.TicketDuration", 3600);
- _thread = std::thread(std::bind(&LoginRESTService::Run, this));
+ _thread = std::thread(&LoginRESTService::Run, this);
return true;
}