From 6527a488974cc7b21a96b98c5090d1d07ef43ece Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Mon, 4 Feb 2013 20:14:48 +0800 Subject: [PATCH] Make io_fd_t members const, make close_fd bool --- io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io.h b/io.h index a156c0e18..4406f7d4f 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;