Skip to content

Commit

Permalink
Remove unused ReadVersion and WriteVersion
Browse files Browse the repository at this point in the history
CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
  • Loading branch information
sipa committed Nov 7, 2016
1 parent 1253f86 commit 50e8a9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/streams.h
Expand Up @@ -254,8 +254,6 @@ class CDataStream
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)
{
Expand Down Expand Up @@ -434,8 +432,6 @@ class CAutoFile
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)
{
Expand Down

0 comments on commit 50e8a9c

Please sign in to comment.