Boost.ASIO: upgrade io_service=>io_context, finally
This commit is contained in:
@@ -63,7 +63,7 @@ void MarionetteComponent::postJoltHook()
|
||||
|
||||
// Register SIGINT (Ctrl+C) and SIGSEGV handlers
|
||||
signals = std::make_unique<boost::asio::signal_set>(
|
||||
th->getIoService(), SIGINT);
|
||||
th->getIoContext(), SIGINT);
|
||||
|
||||
signals->async_wait(
|
||||
[](const boost::system::error_code& ec, int signal)
|
||||
|
||||
Reference in New Issue
Block a user