diff options
author | Thomas Habets <thomas@habets.se> | 2020-03-22 14:55:14 +0000 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2020-03-27 08:45:52 -0700 |
commit | 5a9f864c9befdee426da6ddaec6e96c63e571bc3 (patch) | |
tree | e1529ddef962be3843eefb94d8619b79a79c8aca /gnuradio-runtime/lib/tpb_thread_body.cc | |
parent | 414a495d639ffb817dd3c04d771719e938f50daf (diff) |
Replace BOOST_FOREACH with C++11 range for
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.cc')
-rw-r--r-- | gnuradio-runtime/lib/tpb_thread_body.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc b/gnuradio-runtime/lib/tpb_thread_body.cc index d262427b35..fd5b278cb9 100644 --- a/gnuradio-runtime/lib/tpb_thread_body.cc +++ b/gnuradio-runtime/lib/tpb_thread_body.cc @@ -15,7 +15,6 @@ #include "tpb_thread_body.h" #include <gnuradio/prefs.h> #include <pmt/pmt.h> -#include <boost/foreach.hpp> #include <boost/thread.hpp> #include <iostream> @@ -87,7 +86,7 @@ tpb_thread_body::tpb_thread_body(block_sptr block, d->d_tpb.clear_changed(); // handle any queued up messages - BOOST_FOREACH (basic_block::msg_queue_map_t::value_type& i, block->msg_queue) { + for (const auto& i : block->msg_queue) { // Check if we have a message handler attached before getting // any messages. This is mostly a protection for the unknown // startup sequence of the threads. |