diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2020-12-19 14:46:52 +0100 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-01-04 08:53:17 -0800 |
commit | acf08b91594bbbcd0649a55ff377f242459f1a07 (patch) | |
tree | 574ab0c47a44200166d19c77f55b6fcacb8877a2 /gr-zeromq/lib/pull_msg_source_impl.cc | |
parent | 57df09de3a2e27aca42eca621d452f03b15b67b6 (diff) |
C++14: Use std::make_unique instead of boost::make_unique
Also, clean up includes
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-zeromq/lib/pull_msg_source_impl.cc')
-rw-r--r-- | gr-zeromq/lib/pull_msg_source_impl.cc | 4 |
1 files changed, 2 insertions, 2 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; } |