From acf08b91594bbbcd0649a55ff377f242459f1a07 Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Sat, 19 Dec 2020 14:46:52 +0100
Subject: C++14: Use std::make_unique instead of boost::make_unique
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Also, clean up includes

Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
---
 gnuradio-runtime/lib/thread/thread_group.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gnuradio-runtime/lib/thread/thread_group.cc')

diff --git a/gnuradio-runtime/lib/thread/thread_group.cc b/gnuradio-runtime/lib/thread/thread_group.cc
index 6c7512ab28..c4fcfcd042 100644
--- a/gnuradio-runtime/lib/thread/thread_group.cc
+++ b/gnuradio-runtime/lib/thread/thread_group.cc
@@ -13,7 +13,7 @@
  */
 
 #include <gnuradio/thread/thread_group.h>
-#include <boost/make_unique.hpp>
+#include <memory>
 
 namespace gr {
 namespace thread {
@@ -26,7 +26,7 @@ boost::thread* thread_group::create_thread(const boost::function0<void>& threadf
 {
     // No scoped_lock required here since the only "shared data" that's
     // modified here occurs inside add_thread which does scoped_lock.
-    auto thrd = boost::make_unique<boost::thread>(threadfunc);
+    auto thrd = std::make_unique<boost::thread>(threadfunc);
     auto thrdp = thrd.get();
     add_thread(std::move(thrd));
     return thrdp;
-- 
cgit v1.2.3