diff options
author | ilovezfs <ilovezfs@icloud.com> | 2017-12-19 02:37:19 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-19 09:17:19 -0800 |
commit | 707db05b5a4a2453c63b24f92d357d63d7962b11 (patch) | |
tree | 37a7369e6bfb054edc045fc1cc3210ad1992b23b /host/lib/transport/tcp_zero_copy.cpp | |
parent | 85a707d7fff008e15e8f83c66dbbe253d6093479 (diff) | |
download | uhd-707db05b5a4a2453c63b24f92d357d63d7962b11.tar.gz uhd-707db05b5a4a2453c63b24f92d357d63d7962b11.tar.bz2 uhd-707db05b5a4a2453c63b24f92d357d63d7962b11.zip |
Fix build with Boost 1.66
Thanks to FX Coudert for suggesting this fix.
Diffstat (limited to 'host/lib/transport/tcp_zero_copy.cpp')
-rw-r--r-- | host/lib/transport/tcp_zero_copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/tcp_zero_copy.cpp b/host/lib/transport/tcp_zero_copy.cpp index dc1848b00..4c434527c 100644 --- a/host/lib/transport/tcp_zero_copy.cpp +++ b/host/lib/transport/tcp_zero_copy.cpp @@ -154,7 +154,7 @@ public: //create, open, and connect the socket _socket.reset(new asio::ip::tcp::socket(_io_service)); _socket->connect(receiver_endpoint); - _sock_fd = _socket->native(); + _sock_fd = _socket->native_handle(); //packets go out ASAP asio::ip::tcp::no_delay option(true); |