diff options
Diffstat (limited to 'gr-zeromq')
-rw-r--r-- | gr-zeromq/lib/pull_msg_source_impl.cc | 4 | ||||
-rw-r--r-- | gr-zeromq/lib/rep_msg_sink_impl.cc | 6 | ||||
-rw-r--r-- | gr-zeromq/lib/req_msg_source_impl.cc | 4 | ||||
-rw-r--r-- | gr-zeromq/lib/sub_msg_source_impl.cc | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/gr-zeromq/lib/pull_msg_source_impl.cc b/gr-zeromq/lib/pull_msg_source_impl.cc index 56dba69735..06463ef9cd 100644 --- a/gr-zeromq/lib/pull_msg_source_impl.cc +++ b/gr-zeromq/lib/pull_msg_source_impl.cc @@ -16,8 +16,8 @@ #include "tag_headers.h" #include <gnuradio/io_signature.h> #include <boost/date_time/posix_time/posix_time.hpp> -#include <boost/make_unique.hpp> #include <boost/thread/thread.hpp> +#include <memory> namespace gr { namespace zeromq { @@ -60,7 +60,7 @@ pull_msg_source_impl::~pull_msg_source_impl() {} bool pull_msg_source_impl::start() { d_finished = false; - d_thread = boost::make_unique<boost::thread>( + d_thread = std::make_unique<boost::thread>( boost::bind(&pull_msg_source_impl::readloop, this)); return true; } diff --git a/gr-zeromq/lib/rep_msg_sink_impl.cc b/gr-zeromq/lib/rep_msg_sink_impl.cc index 5bb4f3b152..d457e7fae7 100644 --- a/gr-zeromq/lib/rep_msg_sink_impl.cc +++ b/gr-zeromq/lib/rep_msg_sink_impl.cc @@ -15,7 +15,7 @@ #include "rep_msg_sink_impl.h" #include "tag_headers.h" #include <gnuradio/io_signature.h> -#include <boost/make_unique.hpp> +#include <memory> namespace gr { namespace zeromq { @@ -58,8 +58,8 @@ rep_msg_sink_impl::~rep_msg_sink_impl() {} bool rep_msg_sink_impl::start() { d_finished = false; - d_thread = boost::make_unique<boost::thread>( - boost::bind(&rep_msg_sink_impl::readloop, this)); + d_thread = + std::make_unique<boost::thread>(boost::bind(&rep_msg_sink_impl::readloop, this)); return true; } diff --git a/gr-zeromq/lib/req_msg_source_impl.cc b/gr-zeromq/lib/req_msg_source_impl.cc index ff4405cb0e..43a1852f0b 100644 --- a/gr-zeromq/lib/req_msg_source_impl.cc +++ b/gr-zeromq/lib/req_msg_source_impl.cc @@ -16,8 +16,8 @@ #include "tag_headers.h" #include <gnuradio/io_signature.h> #include <boost/date_time/posix_time/posix_time.hpp> -#include <boost/make_unique.hpp> #include <boost/thread/thread.hpp> +#include <memory> namespace gr { namespace zeromq { @@ -60,7 +60,7 @@ req_msg_source_impl::~req_msg_source_impl() {} bool req_msg_source_impl::start() { d_finished = false; - d_thread = boost::make_unique<boost::thread>( + d_thread = std::make_unique<boost::thread>( boost::bind(&req_msg_source_impl::readloop, this)); return true; } diff --git a/gr-zeromq/lib/sub_msg_source_impl.cc b/gr-zeromq/lib/sub_msg_source_impl.cc index 9c4b283097..fd9229fdfd 100644 --- a/gr-zeromq/lib/sub_msg_source_impl.cc +++ b/gr-zeromq/lib/sub_msg_source_impl.cc @@ -16,8 +16,8 @@ #include "tag_headers.h" #include <gnuradio/io_signature.h> #include <boost/date_time/posix_time/posix_time.hpp> -#include <boost/make_unique.hpp> #include <boost/thread/thread.hpp> +#include <memory> namespace gr { namespace zeromq { @@ -59,7 +59,7 @@ sub_msg_source_impl::~sub_msg_source_impl() {} bool sub_msg_source_impl::start() { d_finished = false; - d_thread = boost::make_unique<boost::thread>( + d_thread = std::make_unique<boost::thread>( boost::bind(&sub_msg_source_impl::readloop, this)); return true; } |