mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Removed usage of boost::thread from vcmi, except for AI
This commit is contained in:
@ -49,7 +49,7 @@ void ServerThreadRunner::start(bool listenForConnections, bool connectToLobby, s
|
||||
|
||||
std::promise<uint16_t> promise;
|
||||
|
||||
threadRunLocalServer = boost::thread([this, connectToLobby, listenForConnections, &promise]{
|
||||
threadRunLocalServer = std::thread([this, connectToLobby, listenForConnections, &promise]{
|
||||
setThreadName("runServer");
|
||||
uint16_t port = server->prepare(connectToLobby, listenForConnections);
|
||||
promise.set_value(port);
|
||||
|
Reference in New Issue
Block a user