1
0
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:
Ivan Savenko
2025-03-01 22:34:33 +00:00
parent 3d205e0291
commit 844dfb1604
28 changed files with 90 additions and 90 deletions

View File

@ -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);