aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-23 15:22:40 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-23 19:24:54 +0100
commitfaa96f841fe45bc49ebb6e07ac82a129fa9c40bf (patch)
tree844e357fc2472e83e4aa359dd408627f533fda0a /src/streams.h
parent555b5d1bf940646a728499cfa1005bcb61383c20 (diff)
Remove unused CDataStream methods
Diffstat (limited to 'src/streams.h')
-rw-r--r--src/streams.h18
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.
*