From 8a0d4854e81e6587674a45071dd00ea9482b7a47 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 21 Jan 2017 16:10:42 -0800 Subject: [PATCH] Replace auto_ptr with unique_ptr --- src/exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exec.cpp b/src/exec.cpp index 33cce87ad..63d90eb0f 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -609,7 +609,7 @@ void exec_job(parser_t &parser, job_t *j) { shared_ptr block_output_io_buffer; // This is the io_streams we pass to internal builtins. - std::auto_ptr builtin_io_streams; + std::unique_ptr builtin_io_streams; switch (p->type) { case INTERNAL_FUNCTION: {