diff options
Diffstat (limited to 'gr-zeromq/lib/req_msg_source_impl.cc')
-rw-r--r-- | gr-zeromq/lib/req_msg_source_impl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-zeromq/lib/req_msg_source_impl.cc b/gr-zeromq/lib/req_msg_source_impl.cc index 15950489cf..d9862b6635 100644 --- a/gr-zeromq/lib/req_msg_source_impl.cc +++ b/gr-zeromq/lib/req_msg_source_impl.cc @@ -15,7 +15,6 @@ #include "req_msg_source_impl.h" #include "tag_headers.h" #include <gnuradio/io_signature.h> -#include <boost/bind.hpp> #include <boost/thread/thread.hpp> #include <chrono> #include <memory> @@ -62,8 +61,7 @@ req_msg_source_impl::~req_msg_source_impl() {} bool req_msg_source_impl::start() { d_finished = false; - d_thread = std::make_unique<boost::thread>( - boost::bind(&req_msg_source_impl::readloop, this)); + d_thread = std::make_unique<boost::thread>([this] { readloop(); }); return true; } |