mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Remove io_duplicate, which is no longer used
This commit is contained in:
3
io.h
3
io.h
@@ -135,9 +135,6 @@ class io_chain_t : public std::vector<shared_ptr<io_data_t> >
|
||||
*/
|
||||
void io_remove(io_chain_t &list, const shared_ptr<const io_data_t> &element);
|
||||
|
||||
/** Make a copy of the specified chain of redirections. Uses operator new. */
|
||||
io_chain_t io_duplicate(const io_chain_t &chain);
|
||||
|
||||
/** Return a shallow copy of the specified chain of redirections that contains only the applicable redirections. That is, if there's multiple redirections for the same fd, only the second one is included. */
|
||||
io_chain_t io_unique(const io_chain_t &chain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user