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/rep_msg_sink_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/rep_msg_sink_impl.cc')
-rw-r--r-- | gr-zeromq/lib/rep_msg_sink_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |