Skip to content
Permalink
Browse files

Remove unused ReadVersion and WriteVersion

CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
  • Loading branch information...
sipa committed Oct 28, 2016
1 parent 1253f86 commit 50e8a9ccd78c8c20c3eac6618da7293078446b58
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/streams.h
@@ -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)
{
@@ -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)
{

0 comments on commit 50e8a9c

Please sign in to comment.
You can’t perform that action at this time.