mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
CAutoFile: make file private
This commit is contained in:
parent
0c35486dc9
commit
938bccebf1
1 changed files with 4 additions and 3 deletions
|
@ -1166,12 +1166,13 @@ private:
|
||||||
// Disallow copies
|
// Disallow copies
|
||||||
CAutoFile(const CAutoFile&);
|
CAutoFile(const CAutoFile&);
|
||||||
CAutoFile& operator=(const CAutoFile&);
|
CAutoFile& operator=(const CAutoFile&);
|
||||||
protected:
|
|
||||||
FILE* file;
|
|
||||||
public:
|
|
||||||
int nType;
|
int nType;
|
||||||
int nVersion;
|
int nVersion;
|
||||||
|
|
||||||
|
FILE* file;
|
||||||
|
|
||||||
|
public:
|
||||||
CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn)
|
CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn)
|
||||||
{
|
{
|
||||||
file = filenew;
|
file = filenew;
|
||||||
|
|
Loading…
Add table
Reference in a new issue