mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Replace auto_ptr with unique_ptr
This commit is contained in:
parent
b3fff2d779
commit
8a0d4854e8
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue