summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/thread
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-04-17 08:41:26 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-04-17 14:16:01 -0700
commit834c94457befa1f39c6eefbc9faed3b750f2ce19 (patch)
tree7810f39169e67106f5c7908173696cd537825cdc /gnuradio-runtime/lib/thread
parentcf0d54dcff7af305fb0ca7993dfc74064d3e7e47 (diff)
runtime: replace std::auto_ptr usage with std::unique_ptr
Diffstat (limited to 'gnuradio-runtime/lib/thread')
-rw-r--r--gnuradio-runtime/lib/thread/thread_group.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/thread/thread_group.cc b/gnuradio-runtime/lib/thread/thread_group.cc
index e467dfda5a..637525e19e 100644
--- a/gnuradio-runtime/lib/thread/thread_group.cc
+++ b/gnuradio-runtime/lib/thread/thread_group.cc
@@ -37,7 +37,7 @@ namespace gr {
{
// No scoped_lock required here since the only "shared data" that's
// modified here occurs inside add_thread which does scoped_lock.
- std::auto_ptr<boost::thread> thrd(new boost::thread(threadfunc));
+ std::unique_ptr<boost::thread> thrd(new boost::thread(threadfunc));
add_thread(thrd.get());
return thrd.release();
}