mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-30 02:52:49 +00:00
Replace deadline_timer by steady_timer
Prevent deprecation warnings when building.
This commit is contained in:
1 parent
a3cafd3cfd
commit
73623a4793
33 files changed
+95
-95
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user