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 /gnuradio-runtime/lib/top_block.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 'gnuradio-runtime/lib/top_block.cc')
-rw-r--r-- | gnuradio-runtime/lib/top_block.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/top_block.cc b/gnuradio-runtime/lib/top_block.cc index c7e0ee74ce..319bb7a0c1 100644 --- a/gnuradio-runtime/lib/top_block.cc +++ b/gnuradio-runtime/lib/top_block.cc @@ -18,8 +18,8 @@ #include <gnuradio/prefs.h> #include <gnuradio/top_block.h> #include <unistd.h> -#include <boost/make_unique.hpp> #include <iostream> +#include <memory> namespace gr { top_block_sptr make_top_block(const std::string& name, bool catch_exceptions) @@ -29,7 +29,7 @@ top_block_sptr make_top_block(const std::string& name, bool catch_exceptions) top_block::top_block(const std::string& name, bool catch_exceptions) : hier_block2(name, io_signature::make(0, 0, 0), io_signature::make(0, 0, 0)), - d_impl(boost::make_unique<top_block_impl>(this, catch_exceptions)) + d_impl(std::make_unique<top_block_impl>(this, catch_exceptions)) { } |