mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
eliminate boost::protect
This commit is contained in:
parent
58939de57e
commit
66ff2c7875
2 changed files with 4 additions and 5 deletions
|
@ -214,8 +214,8 @@ namespace stream
|
|||
}
|
||||
}
|
||||
m_ReceiveTimer.expires_from_now (boost::posix_time::seconds(timeout));
|
||||
m_ReceiveTimer.async_wait (boost::bind (&Stream::HandleReceiveTimer<Buffer, ReceiveHandler>,
|
||||
this, boost::asio::placeholders::error, buffer, handler));
|
||||
m_ReceiveTimer.async_wait ([&buffer, handler, this](const boost::system::error_code& ecode)
|
||||
{ this->HandleReceiveTimer (ecode, buffer, handler); });
|
||||
}
|
||||
|
||||
template<typename Buffer, typename ReceiveHandler>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue