summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
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/controlport/rpcserver_selector.cc
parentcf0d54dcff7af305fb0ca7993dfc74064d3e7e47 (diff)
runtime: replace std::auto_ptr usage with std::unique_ptr
Diffstat (limited to 'gnuradio-runtime/lib/controlport/rpcserver_selector.cc')
-rw-r--r--gnuradio-runtime/lib/controlport/rpcserver_selector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/controlport/rpcserver_selector.cc b/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
index fcba1ab524..2785513a46 100644
--- a/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
+++ b/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
@@ -27,8 +27,8 @@
bool rpcmanager::make_aggregator(false);
bool rpcmanager::booter_registered(false);
bool rpcmanager::aggregator_registered(false);
-std::auto_ptr<rpcserver_booter_base> rpcmanager::boot(0);
-std::auto_ptr<rpcserver_booter_aggregator> rpcmanager::aggregator(0);
+std::unique_ptr<rpcserver_booter_base> rpcmanager::boot;
+std::unique_ptr<rpcserver_booter_aggregator> rpcmanager::aggregator;
#ifdef GR_RPCSERVER_ENABLED
rpcmanager manager_instance;