aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.h
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-02-04 20:14:48 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-11 22:05:47 -0800
commit6527a488974cc7b21a96b98c5090d1d07ef43ece (patch)
treea2a9c8b03d6e9156969e1e32ca775e7d3fce0b81 /io.h
parent3f9706a7f350fcac43fc389b0b52b3601269e2e9 (diff)
Make io_fd_t members const, make close_fd bool
Diffstat (limited to 'io.h')
-rw-r--r--io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.h b/io.h
index a156c0e1..4406f7d4 100644
--- a/io.h
+++ b/io.h
@@ -53,9 +53,9 @@ class io_fd_t : public io_data_t
{
public:
/** fd to redirect specified fd to */
- int old_fd;
+ const int old_fd;
/** Whether to close old_fd */
- int close_old;
+ const bool close_old;
virtual void print() const;