Boost.ASIO: upgrade io_service=>io_context, finally
This commit is contained in:
@@ -1098,7 +1098,7 @@ void Device::startHeartbeat()
|
||||
|
||||
// Create heartbeat timer
|
||||
heartbeatTimer = std::make_unique<boost::asio::deadline_timer>(
|
||||
componentThread->getIoService());
|
||||
componentThread->getIoContext());
|
||||
|
||||
heartbeatActive.store(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user