aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.h
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-02-04 20:15:32 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-11 22:05:47 -0800
commit66a445f0432b0c882303c5a46433d945ec4086f3 (patch)
tree4629f0ecbb5e2b244d4a718c42ca6344d839b726 /io.h
parent6527a488974cc7b21a96b98c5090d1d07ef43ece (diff)
Make io_file_t members const
Diffstat (limited to 'io.h')
-rw-r--r--io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.h b/io.h
index 4406f7d4..750c3207 100644
--- a/io.h
+++ b/io.h
@@ -73,7 +73,7 @@ public:
/** 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;