From 670a7686a6d0898b4ff257a6cc8ce53a6e8d9057 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 28 Oct 2016 16:53:00 -0700 Subject: [PATCH] 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(-) diff --git a/src/streams.h b/src/streams.h index 37945bfc9..48c9f1880 100644 --- a/src/streams.h +++ b/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) {