Remove unused ReadVersion and WriteVersion

CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
pull/9039/head
Pieter Wuille 8 years ago
parent 1253f8692f
commit 50e8a9ccd7

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

Loading…
Cancel
Save