mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-14 08:21:18 -03:00
Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t constructor private
This commit is contained in:
6
exec.cpp
6
exec.cpp
@@ -801,7 +801,7 @@ void exec(parser_t &parser, job_t *j)
|
||||
|
||||
if (p->next)
|
||||
{
|
||||
io_buffer.reset(io_buffer_create(0));
|
||||
io_buffer.reset(io_buffer_t::create(0));
|
||||
j->io.push_back(io_buffer);
|
||||
}
|
||||
|
||||
@@ -818,7 +818,7 @@ void exec(parser_t &parser, job_t *j)
|
||||
{
|
||||
if (p->next)
|
||||
{
|
||||
io_buffer.reset(io_buffer_create(0));
|
||||
io_buffer.reset(io_buffer_t::create(0));
|
||||
j->io.push_back(io_buffer);
|
||||
}
|
||||
|
||||
@@ -1409,7 +1409,7 @@ static int exec_subshell_internal(const wcstring &cmd, wcstring_list_t *lst)
|
||||
|
||||
is_subshell=1;
|
||||
|
||||
const shared_ptr<io_buffer_t> io_buffer(io_buffer_create(0));
|
||||
const shared_ptr<io_buffer_t> io_buffer(io_buffer_t::create(0));
|
||||
|
||||
prev_status = proc_get_last_status();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user