aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-10-28 16:53:00 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2016-11-07 09:39:46 -0800
commit50e8a9ccd78c8c20c3eac6618da7293078446b58 (patch)
tree458f468af02a7e8341049df9cdaa83dd5a50e776 /src
parent1253f8692fc3a11be9430685cd405236a68df6c3 (diff)
Remove unused ReadVersion and WriteVersion
CDataStream and CAutoFile had a ReadVersion and WriteVersion method that was never used. Remove them.
Diffstat (limited to 'src')
-rw-r--r--src/streams.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/streams.h b/src/streams.h
index fa001c112a..c66a996519 100644
--- a/src/streams.h
+++ b/src/streams.h
@@ -254,8 +254,6 @@ public:
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 @@ 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)
{