From faa96f841fe45bc49ebb6e07ac82a129fa9c40bf Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 23 Nov 2020 15:22:40 +0100 Subject: Remove unused CDataStream methods --- src/streams.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/streams.h') diff --git a/src/streams.h b/src/streams.h index c22f5936fd..793c06b5c5 100644 --- a/src/streams.h +++ b/src/streams.h @@ -264,19 +264,6 @@ public: nVersion = nVersionIn; } - CDataStream& operator+=(const CDataStream& b) - { - vch.insert(vch.end(), b.begin(), b.end()); - return *this; - } - - friend CDataStream operator+(const CDataStream& a, const CDataStream& b) - { - CDataStream ret = a; - ret += b; - return (ret); - } - std::string str() const { return (std::string(begin(), end())); @@ -462,11 +449,6 @@ public: return (*this); } - void GetAndClear(CSerializeData &d) { - d.insert(d.end(), begin(), end()); - clear(); - } - /** * XOR the contents of this stream with a certain key. * -- cgit v1.2.3