diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-28 16:53:00 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-07 09:39:46 -0800 |
commit | 50e8a9ccd78c8c20c3eac6618da7293078446b58 (patch) | |
tree | 458f468af02a7e8341049df9cdaa83dd5a50e776 | |
parent | 1253f8692fc3a11be9430685cd405236a68df6c3 (diff) |
Remove unused ReadVersion and WriteVersion
CDataStream and CAutoFile had a ReadVersion and WriteVersion method
that was never used. Remove them.
-rw-r--r-- | src/streams.h | 4 |
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) { |