From 50e8a9ccd78c8c20c3eac6618da7293078446b58 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 28 Oct 2016 16:53:00 -0700 Subject: Remove unused ReadVersion and WriteVersion CDataStream and CAutoFile had a ReadVersion and WriteVersion method that was never used. Remove them. --- src/streams.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/streams.h') 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) { -- cgit v1.2.3