diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-04-17 08:41:26 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-04-17 14:16:01 -0700 |
commit | 834c94457befa1f39c6eefbc9faed3b750f2ce19 (patch) | |
tree | 7810f39169e67106f5c7908173696cd537825cdc /gr-blocks/lib/tcp_server_sink_impl.h | |
parent | cf0d54dcff7af305fb0ca7993dfc74064d3e7e47 (diff) |
runtime: replace std::auto_ptr usage with std::unique_ptr
Diffstat (limited to 'gr-blocks/lib/tcp_server_sink_impl.h')
-rw-r--r-- | gr-blocks/lib/tcp_server_sink_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/tcp_server_sink_impl.h b/gr-blocks/lib/tcp_server_sink_impl.h index d10f3b95b8..ea1aa3e84a 100644 --- a/gr-blocks/lib/tcp_server_sink_impl.h +++ b/gr-blocks/lib/tcp_server_sink_impl.h @@ -39,7 +39,7 @@ namespace gr { boost::asio::io_service d_io_service; gr::thread::thread d_io_serv_thread; boost::asio::ip::tcp::endpoint d_endpoint; - std::auto_ptr<boost::asio::ip::tcp::socket> d_socket; + std::unique_ptr<boost::asio::ip::tcp::socket> d_socket; std::set<boost::asio::ip::tcp::socket *> d_sockets; boost::asio::ip::tcp::acceptor d_acceptor; |