Replace deadline_timer by steady_timer

Prevent deprecation warnings when building.
This commit is contained in:
Benson Muite committed 2026-03-06 10:55:47 +03:00
1 parent a3cafd3cfd
commit 73623a4793
33 files changed
+95 -95

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ namespace util
if (m_IsRunning)
{
m_Timer.expires_from_now (boost::posix_time::hours (m_SyncInterval));
m_Timer.expires_after (std::chrono::hours (m_SyncInterval));
m_Timer.async_wait ([this](const boost::system::error_code& ecode)
{
if (ecode != boost::asio::error::operation_aborted)