diff options
Diffstat (limited to 'src/streams.h')
-rw-r--r-- | src/streams.h | 18 |
1 files changed, 0 insertions, 18 deletions
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. * |