Core/Network: Simplify worldserver port configuration: removed InstanceServerPort

This commit is contained in:
Shauren
2025-01-07 13:41:09 +01:00
parent 19aef6882d
commit 039acb20e4
10 changed files with 14 additions and 74 deletions

View File

@@ -35,7 +35,7 @@ NetworkThread<Battlenet::Session>* Battlenet::SessionManager::CreateThreads() co
void Battlenet::SessionManager::OnSocketAccept(boost::asio::ip::tcp::socket&& sock, uint32 threadIndex)
{
sSessionMgr.OnSocketOpen(std::forward<boost::asio::ip::tcp::socket>(sock), threadIndex);
sSessionMgr.OnSocketOpen(std::move(sock), threadIndex);
}
Battlenet::SessionManager& Battlenet::SessionManager::Instance()