Browse Source

CAutoFile: make file private

pull/1/head
Philip Kaufmann 8 years ago
parent
commit
938bccebf1
  1. 7
      src/serialize.h

7
src/serialize.h

@ -1166,12 +1166,13 @@ private: @@ -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;

Loading…
Cancel
Save