aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_simple.cpp
diff options
context:
space:
mode:
authorilovezfs <ilovezfs@icloud.com>2017-12-19 02:37:19 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-19 09:17:19 -0800
commit707db05b5a4a2453c63b24f92d357d63d7962b11 (patch)
tree37a7369e6bfb054edc045fc1cc3210ad1992b23b /host/lib/transport/udp_simple.cpp
parent85a707d7fff008e15e8f83c66dbbe253d6093479 (diff)
downloaduhd-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/udp_simple.cpp')
-rw-r--r--host/lib/transport/udp_simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/udp_simple.cpp b/host/lib/transport/udp_simple.cpp
index 75862d1a9..c469e5b1b 100644
--- a/host/lib/transport/udp_simple.cpp
+++ b/host/lib/transport/udp_simple.cpp
@@ -56,7 +56,7 @@ public:
}
size_t recv(const asio::mutable_buffer &buff, double timeout){
- if (not wait_for_recv_ready(_socket->native(), timeout)) return 0;
+ if (not wait_for_recv_ready(_socket->native_handle(), timeout)) return 0;
return _socket->receive_from(asio::buffer(buff), _recv_endpoint);
}