aboutsummaryrefslogtreecommitdiff
path: root/common/file.h
diff options
context:
space:
mode:
authorMax Horn2004-07-23 01:39:05 +0000
committerMax Horn2004-07-23 01:39:05 +0000
commit3381b831eb59570b9318a7a0179429f39b90df84 (patch)
treecab6311b556d9eb3369398fcb76033344b1ee53b /common/file.h
parent24e89ad42428ed7d612f124a67e5329ce6c84505 (diff)
downloadscummvm-rg350-3381b831eb59570b9318a7a0179429f39b90df84.tar.gz
scummvm-rg350-3381b831eb59570b9318a7a0179429f39b90df84.tar.bz2
scummvm-rg350-3381b831eb59570b9318a7a0179429f39b90df84.zip
Allow subclasses to modify File class members (e.g. to set _ioFailed); change some warnings into errors
svn-id: r14302
Diffstat (limited to 'common/file.h')
-rw-r--r--common/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.h b/common/file.h
index ad2c5d5980..a55f4f086c 100644
--- a/common/file.h
+++ b/common/file.h
@@ -28,7 +28,7 @@
#include "common/stream.h"
class File : public Common::ReadStream, public Common::WriteStream {
-private:
+protected:
/** POSIX file handle to the actual file; 0 if no file is open. */
FILE *_handle;