mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
Replace auto_ptr with unique_ptr
This commit is contained in:
parent
b3fff2d779
commit
8a0d4854e8
|
@ -609,7 +609,7 @@ void exec_job(parser_t &parser, job_t *j) {
|
|||
shared_ptr<io_buffer_t> block_output_io_buffer;
|
||||
|
||||
// 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) {
|
||||
case INTERNAL_FUNCTION: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user