From 66a445f0432b0c882303c5a46433d945ec4086f3 Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Mon, 4 Feb 2013 20:15:32 +0800 Subject: [PATCH] Make io_file_t members const --- io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.h b/io.h index 4406f7d4f..750c32072 100644 --- a/io.h +++ b/io.h @@ -73,7 +73,7 @@ class io_file_t : public io_data_t /** Filename, malloc'd. This needs to be used after fork, so don't use wcstring here. */ const char * const filename_cstr; /** file creation flags to send to open */ - int flags; + const int flags; virtual void print() const;