aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-02 10:59:28 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-02 10:59:28 +0200
commit938bccebf1cb3ed6c7b8bfb8236a5172433bf890 (patch)
treedbdc27b328cd7806ce7b07adc4dda2a3c8872869 /src/serialize.h
parent0c35486dc97909cea67b24e8758bd0f40ac33a9a (diff)
CAutoFile: make file private
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h7
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;