Browse Source

Remove unused ReadVersion and WriteVersion

CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
pull/4/head
Pieter Wuille 8 years ago
committed by Jack Grigg
parent
commit
670a7686a6
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 4
      src/streams.h

4
src/streams.h

@ -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)
{

Loading…
Cancel
Save