From 0c43030e71f4786bf1ba1b7f08abf6b3d019761f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Sat, 28 Sep 2019 11:50:22 +0200 Subject: uhd: Replace BOOST_FOREACH(v, c) with for(v : c) Also removes all references to boost/foreach.hpp. BOOST_FOREACH is no longer necessary since all headers require C++11 anyway. --- host/lib/transport/super_send_packet_handler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index cd707cb89..40ca2e414 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -315,7 +315,7 @@ private: if_packet_info.packet_count = _next_packet_seq; // get a buffer for each channel or timeout - BOOST_FOREACH (xport_chan_props_type& props, _props) { + for (xport_chan_props_type& props : _props) { if (not props.buff) props.buff = props.get_buff(timeout); if (not props.buff) -- cgit v1.2.3