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 committed by Jack Grigg
parent d1c9ef8606
commit 670a7686a6
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 0 additions and 4 deletions

View File

@ -222,8 +222,6 @@ public:
int GetType() { return nType; }
void SetVersion(int n) { nVersion = n; }
int GetVersion() { return nVersion; }
void ReadVersion() { *this >> nVersion; }
void WriteVersion() { *this << nVersion; }
CBaseDataStream& read(char* pch, size_t nSize)
{
@ -407,8 +405,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)
{