diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-06-01 08:52:12 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-06-01 08:52:12 -0500 |
commit | 992b7ce30fa101f55314b89aa5bdf20881f5b43d (patch) | |
tree | 41562e1722533860750b064f214840578793ee5c /src/device_trezor/trezor/transport.cpp | |
parent | Merge pull request #6582 (diff) | |
parent | Fix boost <1.60 compilation and fix boost 1.73+ warnings (diff) | |
download | monero-992b7ce30fa101f55314b89aa5bdf20881f5b43d.tar.xz |
Merge pull request #6612
7aeb503 Fix boost <1.60 compilation and fix boost 1.73+ warnings (vtnerd)
Diffstat (limited to 'src/device_trezor/trezor/transport.cpp')
-rw-r--r-- | src/device_trezor/trezor/transport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_trezor/trezor/transport.cpp b/src/device_trezor/trezor/transport.cpp index 51396d90a..494706373 100644 --- a/src/device_trezor/trezor/transport.cpp +++ b/src/device_trezor/trezor/transport.cpp @@ -32,6 +32,7 @@ #endif #include <algorithm> +#include <functional> #include <boost/endian/conversion.hpp> #include <boost/asio/io_service.hpp> #include <boost/asio/ip/udp.hpp> @@ -711,7 +712,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, boost::placeholders::_1, boost::placeholders::_2, &ec, &length)); + std::bind(&UdpTransport::handle_receive, std::placeholders::_1, std::placeholders::_2, &ec, &length)); // Block until the asynchronous operation has completed. do { |