diff --git a/client/app/common/AppClient.cpp b/client/app/common/AppClient.cpp index 02ede10..382fc72 100644 --- a/client/app/common/AppClient.cpp +++ b/client/app/common/AppClient.cpp @@ -455,8 +455,7 @@ void AppClient::nextTickProgramInternal(unsigned duration) unsigned AppClient::cancelNextTickWaitInternal() { - boost::system::error_code ec; - m_timer.cancel(ec); + m_timer.cancel(); auto now = Clock::now(); auto diff = std::chrono::duration_cast(now - m_lastWaitProgram).count(); return static_cast(diff); diff --git a/gateway/app/gateway/GatewaySession.cpp b/gateway/app/gateway/GatewaySession.cpp index da999bf..203266d 100644 --- a/gateway/app/gateway/GatewaySession.cpp +++ b/gateway/app/gateway/GatewaySession.cpp @@ -206,8 +206,7 @@ bool GatewaySession::startSession() m_session->setCancelTickWaitReqCb( [this]() -> unsigned { - boost::system::error_code ec; - m_timer.cancel(ec); + m_timer.cancel(); assert(m_tickReqTs != Timestamp()); auto now = TimestampClock::now(); auto elapsed = std::chrono::duration_cast(now - m_tickReqTs);