Make io_fd_t members const, make close_fd bool

This commit is contained in:
Cheer Xiao 2013-02-04 20:14:48 +08:00 committed by ridiculousfish
parent 3f9706a7f3
commit 6527a48897

4
io.h
View file

@ -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;