aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-12 08:52:36 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-12 10:01:51 +0200
commitfa8d227d58f7baa5a9be1b88930f4813bf6eedb1 (patch)
treed1eb1bd2492ef545098b717b52911d3722567cfc /src/streams.h
parentfafe2ca0ce842cd8f0d8135fa8c8bac9b2c72da6 (diff)
downloadbitcoin-fa8d227d58f7baa5a9be1b88930f4813bf6eedb1.tar.xz
doc: Remove comments that just repeat what the code does
No need to artificially bloat the code and waste space.
Diffstat (limited to 'src/streams.h')
-rw-r--r--src/streams.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/streams.h b/src/streams.h
index 89068bff0d..7806eeaf98 100644
--- a/src/streams.h
+++ b/src/streams.h
@@ -58,7 +58,6 @@ public:
template<typename T>
OverrideStream<Stream>& operator<<(const T& obj)
{
- // Serialize to this stream
::Serialize(*this, obj);
return (*this);
}
@@ -66,7 +65,6 @@ public:
template<typename T>
OverrideStream<Stream>& operator>>(T&& obj)
{
- // Unserialize from this stream
::Unserialize(*this, obj);
return (*this);
}
@@ -131,7 +129,6 @@ class CVectorWriter
template<typename T>
CVectorWriter& operator<<(const T& obj)
{
- // Serialize to this stream
::Serialize(*this, obj);
return (*this);
}
@@ -172,7 +169,6 @@ public:
template<typename T>
SpanReader& operator>>(T&& obj)
{
- // Unserialize from this stream
::Unserialize(*this, obj);
return (*this);
}
@@ -317,7 +313,6 @@ public:
template<typename T>
DataStream& operator<<(const T& obj)
{
- // Serialize to this stream
::Serialize(*this, obj);
return (*this);
}
@@ -325,7 +320,6 @@ public:
template<typename T>
DataStream& operator>>(T&& obj)
{
- // Unserialize from this stream
::Unserialize(*this, obj);
return (*this);
}
@@ -741,7 +735,6 @@ public:
template<typename T>
CBufferedFile& operator>>(T&& obj) {
- // Unserialize from this stream
::Unserialize(*this, obj);
return (*this);
}