From fa8d227d58f7baa5a9be1b88930f4813bf6eedb1 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 12 Jul 2023 08:52:36 +0200 Subject: [PATCH] doc: Remove comments that just repeat what the code does No need to artificially bloat the code and waste space. --- src/hash.h | 2 -- src/streams.h | 7 ------- 2 files changed, 9 deletions(-) diff --git a/src/hash.h b/src/hash.h index 2e3ed11b438..89c6f0dab9a 100644 --- a/src/hash.h +++ b/src/hash.h @@ -160,7 +160,6 @@ public: template CHashWriter& operator<<(const T& obj) { - // Serialize to this stream ::Serialize(*this, obj); return (*this); } @@ -228,7 +227,6 @@ public: template CHashVerifier& operator>>(T&& obj) { - // Unserialize from this stream ::Unserialize(*this, obj); return (*this); } diff --git a/src/streams.h b/src/streams.h index 89068bff0dd..7806eeaf98a 100644 --- a/src/streams.h +++ b/src/streams.h @@ -58,7 +58,6 @@ public: template OverrideStream& operator<<(const T& obj) { - // Serialize to this stream ::Serialize(*this, obj); return (*this); } @@ -66,7 +65,6 @@ public: template OverrideStream& operator>>(T&& obj) { - // Unserialize from this stream ::Unserialize(*this, obj); return (*this); } @@ -131,7 +129,6 @@ class CVectorWriter template CVectorWriter& operator<<(const T& obj) { - // Serialize to this stream ::Serialize(*this, obj); return (*this); } @@ -172,7 +169,6 @@ public: template SpanReader& operator>>(T&& obj) { - // Unserialize from this stream ::Unserialize(*this, obj); return (*this); } @@ -317,7 +313,6 @@ public: template DataStream& operator<<(const T& obj) { - // Serialize to this stream ::Serialize(*this, obj); return (*this); } @@ -325,7 +320,6 @@ public: template DataStream& operator>>(T&& obj) { - // Unserialize from this stream ::Unserialize(*this, obj); return (*this); } @@ -741,7 +735,6 @@ public: template CBufferedFile& operator>>(T&& obj) { - // Unserialize from this stream ::Unserialize(*this, obj); return (*this); }