mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Make io_fd_t members const, make close_fd bool
This commit is contained in:
parent
3f9706a7f3
commit
6527a48897
1 changed files with 2 additions and 2 deletions
4
io.h
4
io.h
|
@ -53,9 +53,9 @@ class io_fd_t : public io_data_t
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** fd to redirect specified fd to */
|
/** fd to redirect specified fd to */
|
||||||
int old_fd;
|
const int old_fd;
|
||||||
/** Whether to close old_fd */
|
/** Whether to close old_fd */
|
||||||
int close_old;
|
const bool close_old;
|
||||||
|
|
||||||
virtual void print() const;
|
virtual void print() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue