diff options
author | ilovezfs <ilovezfs@icloud.com> | 2017-12-19 02:37:19 -0800 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2017-12-19 16:41:33 -0800 |
commit | d9d9d0a8a2e61b1b82e9799585cb7376f581f276 (patch) | |
tree | 0e8a0b1df01919859b98c9b0ea0324783486d566 /host/lib/transport/tcp_zero_copy.cpp | |
parent | 893609252b1935fc6d27aedaaf653f4ae62cfed4 (diff) | |
download | uhd-d9d9d0a8a2e61b1b82e9799585cb7376f581f276.tar.gz uhd-d9d9d0a8a2e61b1b82e9799585cb7376f581f276.tar.bz2 uhd-d9d9d0a8a2e61b1b82e9799585cb7376f581f276.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 f2ae51695..934777208 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); |