aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-10-28 16:53:00 -0700
committerPieter Wuille <[email protected]>2016-11-07 09:39:46 -0800
commit50e8a9ccd78c8c20c3eac6618da7293078446b58 (patch)
tree458f468af02a7e8341049df9cdaa83dd5a50e776 /src
parentMerge #9077: [qa] Increase wallet-dump RPC timeout (diff)
downloaddiscoin-50e8a9ccd78c8c20c3eac6618da7293078446b58.tar.xz
discoin-50e8a9ccd78c8c20c3eac6618da7293078446b58.zip
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 fa001c112..c66a99651 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)
{