From b623dda765446b71791be688cbcf851e7765905b Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 1 Mar 2023 15:41:14 +0100 Subject: [PATCH] AK: Remove unneeded overrides for `write_until_depleted` from BitStream --- AK/BitStream.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/AK/BitStream.h b/AK/BitStream.h index 966fd424b49..84e91cdeec7 100644 --- a/AK/BitStream.h +++ b/AK/BitStream.h @@ -34,7 +34,6 @@ public: return m_stream->read_some(bytes); } virtual ErrorOr write_some(ReadonlyBytes bytes) override { return m_stream->write_some(bytes); } - virtual ErrorOr write_until_depleted(ReadonlyBytes bytes) override { return m_stream->write_until_depleted(bytes); } virtual bool is_eof() const override { return m_stream->is_eof() && !m_current_byte.has_value(); } virtual bool is_open() const override { return m_stream->is_open(); } virtual void close() override @@ -141,7 +140,6 @@ public: return m_stream->read_some(bytes); } virtual ErrorOr write_some(ReadonlyBytes bytes) override { return m_stream->write_some(bytes); } - virtual ErrorOr write_until_depleted(ReadonlyBytes bytes) override { return m_stream->write_until_depleted(bytes); } virtual bool is_eof() const override { return m_stream->is_eof() && !m_current_byte.has_value(); } virtual bool is_open() const override { return m_stream->is_open(); } virtual void close() override