summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/thread/thread_group.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/thread/thread_group.cc')
-rw-r--r--gnuradio-runtime/lib/thread/thread_group.cc4
1 files changed, 2 insertions, 2 deletions
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;