diff options
| author | Philip Kaufmann <[email protected]> | 2014-10-02 10:59:28 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-10-02 10:59:28 +0200 |
| commit | 938bccebf1cb3ed6c7b8bfb8236a5172433bf890 (patch) | |
| tree | dbdc27b328cd7806ce7b07adc4dda2a3c8872869 /src/serialize.h | |
| parent | CBufferedFile: add explicit close function (diff) | |
| download | discoin-938bccebf1cb3ed6c7b8bfb8236a5172433bf890.tar.xz discoin-938bccebf1cb3ed6c7b8bfb8236a5172433bf890.zip | |
CAutoFile: make file private
Diffstat (limited to 'src/serialize.h')
| -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 63c72cb8e..ff11edc06 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; |