mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
doc: Remove comments that just repeat what the code does
No need to artificially bloat the code and waste space.
This commit is contained in:
@@ -160,7 +160,6 @@ public:
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
CHashWriter& operator<<(const T& obj) {
|
CHashWriter& operator<<(const T& obj) {
|
||||||
// Serialize to this stream
|
|
||||||
::Serialize(*this, obj);
|
::Serialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -228,7 +227,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
CHashVerifier<Source>& operator>>(T&& obj)
|
CHashVerifier<Source>& operator>>(T&& obj)
|
||||||
{
|
{
|
||||||
// Unserialize from this stream
|
|
||||||
::Unserialize(*this, obj);
|
::Unserialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
OverrideStream<Stream>& operator<<(const T& obj)
|
OverrideStream<Stream>& operator<<(const T& obj)
|
||||||
{
|
{
|
||||||
// Serialize to this stream
|
|
||||||
::Serialize(*this, obj);
|
::Serialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -66,7 +65,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
OverrideStream<Stream>& operator>>(T&& obj)
|
OverrideStream<Stream>& operator>>(T&& obj)
|
||||||
{
|
{
|
||||||
// Unserialize from this stream
|
|
||||||
::Unserialize(*this, obj);
|
::Unserialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -131,7 +129,6 @@ class CVectorWriter
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
CVectorWriter& operator<<(const T& obj)
|
CVectorWriter& operator<<(const T& obj)
|
||||||
{
|
{
|
||||||
// Serialize to this stream
|
|
||||||
::Serialize(*this, obj);
|
::Serialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -172,7 +169,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
SpanReader& operator>>(T&& obj)
|
SpanReader& operator>>(T&& obj)
|
||||||
{
|
{
|
||||||
// Unserialize from this stream
|
|
||||||
::Unserialize(*this, obj);
|
::Unserialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -317,7 +313,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
DataStream& operator<<(const T& obj)
|
DataStream& operator<<(const T& obj)
|
||||||
{
|
{
|
||||||
// Serialize to this stream
|
|
||||||
::Serialize(*this, obj);
|
::Serialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -325,7 +320,6 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
DataStream& operator>>(T&& obj)
|
DataStream& operator>>(T&& obj)
|
||||||
{
|
{
|
||||||
// Unserialize from this stream
|
|
||||||
::Unserialize(*this, obj);
|
::Unserialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
@@ -741,7 +735,6 @@ public:
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
CBufferedFile& operator>>(T&& obj) {
|
CBufferedFile& operator>>(T&& obj) {
|
||||||
// Unserialize from this stream
|
|
||||||
::Unserialize(*this, obj);
|
::Unserialize(*this, obj);
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user