aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/super_send_packet_handler.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-09-28 11:50:22 +0200
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:32 -0800
commit0c43030e71f4786bf1ba1b7f08abf6b3d019761f (patch)
tree2abf254f18b327e9450d20379040aa1da1280a58 /host/lib/transport/super_send_packet_handler.hpp
parent1fe98e8701dd0b790b172762c3629db32956d1fc (diff)
downloaduhd-0c43030e71f4786bf1ba1b7f08abf6b3d019761f.tar.gz
uhd-0c43030e71f4786bf1ba1b7f08abf6b3d019761f.tar.bz2
uhd-0c43030e71f4786bf1ba1b7f08abf6b3d019761f.zip
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.
Diffstat (limited to 'host/lib/transport/super_send_packet_handler.hpp')
-rw-r--r--host/lib/transport/super_send_packet_handler.hpp2
1 files changed, 1 insertions, 1 deletions
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)