mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-17 02:41:15 -03:00
Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t constructor private
This commit is contained in:
@@ -1064,7 +1064,7 @@ static void run_pager(const wcstring &prefix, int is_quoted, const std::vector<c
|
||||
is_quoted?L"-q":L"",
|
||||
prefix_esc.c_str());
|
||||
|
||||
shared_ptr<io_buffer_t> in(io_buffer_create(true));
|
||||
shared_ptr<io_buffer_t> in(io_buffer_t::create(true));
|
||||
in->fd = 3;
|
||||
|
||||
escaped_separator = escape(COMPLETE_SEP_STR, 1);
|
||||
@@ -1133,7 +1133,7 @@ static void run_pager(const wcstring &prefix, int is_quoted, const std::vector<c
|
||||
|
||||
term_donate();
|
||||
|
||||
shared_ptr<io_buffer_t> out(io_buffer_create(false));
|
||||
shared_ptr<io_buffer_t> out(io_buffer_t::create(false));
|
||||
out->fd = 4;
|
||||
|
||||
parser_t &parser = parser_t::principal_parser();
|
||||
|
||||
Reference in New Issue
Block a user