diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-03-01 15:41:14 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-13 15:16:20 +0000 |
commit | b623dda765446b71791be688cbcf851e7765905b (patch) | |
tree | e5b80d04784dbdfa13a7d8c587e08c7b9f71b869 | |
parent | ecd186285954f74b5ffd7444dbdcdf6141858be5 (diff) | |
download | serenity-b623dda765446b71791be688cbcf851e7765905b.zip |
AK: Remove unneeded overrides for `write_until_depleted` from BitStream
-rw-r--r-- | AK/BitStream.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/AK/BitStream.h b/AK/BitStream.h index 966fd424b4..84e91cdeec 100644 --- a/AK/BitStream.h +++ b/AK/BitStream.h @@ -34,7 +34,6 @@ public: return m_stream->read_some(bytes); } virtual ErrorOr<size_t> write_some(ReadonlyBytes bytes) override { return m_stream->write_some(bytes); } - virtual ErrorOr<void> 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<size_t> write_some(ReadonlyBytes bytes) override { return m_stream->write_some(bytes); } - virtual ErrorOr<void> 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 |