diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-10-02 10:59:28 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-10-02 10:59:28 +0200 |
commit | 938bccebf1cb3ed6c7b8bfb8236a5172433bf890 (patch) | |
tree | dbdc27b328cd7806ce7b07adc4dda2a3c8872869 | |
parent | 0c35486dc97909cea67b24e8758bd0f40ac33a9a (diff) |
CAutoFile: make file private
-rw-r--r-- | src/serialize.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/serialize.h b/src/serialize.h index 63c72cb8e8..ff11edc06c 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -1166,12 +1166,13 @@ private: // Disallow copies CAutoFile(const CAutoFile&); CAutoFile& operator=(const CAutoFile&); -protected: - FILE* file; -public: + int nType; int nVersion; + + FILE* file; +public: CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn) { file = filenew; |