mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Use boost::asio::post instead of deprecated io_service::post
This commit is contained in:
@ -79,7 +79,7 @@ void NetworkHandler::createInternalConnection(INetworkClientListener & listener,
|
||||
|
||||
server.receiveInternalConnection(localConnection);
|
||||
|
||||
io->post([&listener, localConnection](){
|
||||
boost::asio::post(*io, [&listener, localConnection](){
|
||||
listener.onConnectionEstablished(localConnection);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user