CAutoFile: make file private

This commit is contained in:
Philip Kaufmann 2014-10-02 10:59:28 +02:00
parent 0c35486dc9
commit 938bccebf1

View File

@ -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;