Replace auto_ptr with unique_ptr

This commit is contained in:
ridiculousfish 2017-01-21 16:10:42 -08:00
parent b3fff2d779
commit 8a0d4854e8

View file

@ -609,7 +609,7 @@ void exec_job(parser_t &parser, job_t *j) {
shared_ptr<io_buffer_t> block_output_io_buffer; shared_ptr<io_buffer_t> block_output_io_buffer;
// This is the io_streams we pass to internal builtins. // This is the io_streams we pass to internal builtins.
std::auto_ptr<io_streams_t> builtin_io_streams; std::unique_ptr<io_streams_t> builtin_io_streams;
switch (p->type) { switch (p->type) {
case INTERNAL_FUNCTION: { case INTERNAL_FUNCTION: {