Build fixes

This commit is contained in:
r00ty-tc committed 2016-05-12 10:29:20 +01:00
1 parent 101a5f0bec
commit 4bcc63686b
5 files changed
+23 -6

No files matched your search

@@ -17,9 +17,9 @@
#include "SessionManager.h"
bool Battlenet::SessionManager::StartNetwork(boost::asio::io_service& service, std::string const& bindIp, uint16 port)
bool Battlenet::SessionManager::StartNetwork(boost::asio::io_service& service, std::string const& bindIp, uint16 port, int threadCount)
{
if (!BaseSocketMgr::StartNetwork(service, bindIp, port))
if (!BaseSocketMgr::StartNetwork(service, bindIp, port, 1))
return false;
_acceptor->SetSocketFactory(std::bind(&BaseSocketMgr::GetSocketForAccept, this));