mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
replaced boost::bind to std::bind
This commit is contained in:
parent
4bd8b44ab2
commit
0262a8b057
5 changed files with 33 additions and 35 deletions
|
@ -38,7 +38,7 @@ namespace datagram
|
|||
|
||||
auto service = m_Owner.GetService ();
|
||||
if (service)
|
||||
service->post (boost::bind (&DatagramDestination::SendMsg, this,
|
||||
service->post (std::bind (&DatagramDestination::SendMsg, this,
|
||||
CreateDataMessage (buf, len + headerLen), remote));
|
||||
else
|
||||
LogPrint (eLogWarning, "Failed to send datagram. Destination is not running");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue