mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Make io_fd_t members const, make close_fd bool
This commit is contained in:
committed by
ridiculousfish
parent
3f9706a7f3
commit
6527a48897
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user