streaming: remove unused operator==

since this operator is used nowhere, let's drop it.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes #13697
This commit is contained in:
Kefu Chai
2023-04-28 10:45:39 +08:00
committed by Botond Dénes
parent a93e5698b0
commit a34e417069

View File

@@ -54,7 +54,6 @@ struct stream_bytes {
ret += y;
return ret;
}
friend bool operator==(const stream_bytes&, const stream_bytes&) = default;
stream_bytes& operator+=(const stream_bytes& x) {
bytes_sent += x.bytes_sent;
bytes_received += x.bytes_received;