diff --git a/CHANGES b/CHANGES index 8beb1c99f8d..8d77bbaaa9e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ -*- coding: utf-8 -*- Changes with Apache Traffic Server 5.3.3 + *) [TS-4227] Remove auto_ptr in SPDY plugin. + *) [TS-3634] Replace auto_ptr with ats_scoped_object. diff --git a/plugins/experimental/spdy/io.cc b/plugins/experimental/spdy/io.cc index 2329bdc7f7d..d387b898bf2 100644 --- a/plugins/experimental/spdy/io.cc +++ b/plugins/experimental/spdy/io.cc @@ -19,7 +19,7 @@ #include #include #include "io.h" -#include +#include "ink_memory.h" spdy_io_control::spdy_io_control(TSVConn v) : vconn(v), input(), output(), streams(), last_stream_id(0) { @@ -60,7 +60,7 @@ spdy_io_control::valid_client_stream_id(unsigned stream_id) const spdy_io_stream * spdy_io_control::create_stream(unsigned stream_id) { - std::auto_ptr ptr(new spdy_io_stream(stream_id)); + ats_scoped_obj ptr(new spdy_io_stream(stream_id)); std::pair result; result = streams.insert(std::make_pair(stream_id, ptr.get()));