build: fix boost 1.73 compatibility

This commit is contained in:
selsta 2020-05-14 22:57:53 +02:00
parent 77a008f714
commit f35ced6d7f
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
5 changed files with 11 additions and 11 deletions

View file

@ -711,7 +711,7 @@ namespace trezor{
// Start the asynchronous operation itself. The handle_receive function
// used as a callback will update the ec and length variables.
m_socket->async_receive_from(boost::asio::buffer(buffer), m_endpoint,
boost::bind(&UdpTransport::handle_receive, _1, _2, &ec, &length));
boost::bind(&UdpTransport::handle_receive, boost::placeholders::_1, boost::placeholders::_2, &ec, &length));
// Block until the asynchronous operation has completed.
do {