Remove unused ReadVersion and WriteVersion

CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
This commit is contained in:
Pieter Wuille 2016-10-28 16:53:00 -07:00
parent 1253f8692f
commit 50e8a9ccd7

View file

@ -254,8 +254,6 @@ public:
int GetType() { return nType; }
void SetVersion(int n) { nVersion = n; }
int GetVersion() { return nVersion; }
void ReadVersion() { *this >> nVersion; }
void WriteVersion() { *this << nVersion; }
CDataStream& read(char* pch, size_t nSize)
{
@ -434,8 +432,6 @@ public:
int GetType() { return nType; }
void SetVersion(int n) { nVersion = n; }
int GetVersion() { return nVersion; }
void ReadVersion() { *this >> nVersion; }
void WriteVersion() { *this << nVersion; }
CAutoFile& read(char* pch, size_t nSize)
{