diff options
-rw-r--r-- | AK/BitStream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/BitStream.h b/AK/BitStream.h index 97257c5136..a605bdfef5 100644 --- a/AK/BitStream.h +++ b/AK/BitStream.h @@ -48,7 +48,7 @@ public: return true; } - bool unreliable_eof() const override { return !m_next_byte.has_value() && m_stream.unreliable_eof(); } + [[nodiscard]] bool unreliable_eof() const override { return !m_next_byte.has_value() && m_stream.unreliable_eof(); } bool discard_or_error(size_t count) override { @@ -226,7 +226,7 @@ public: } } - size_t bit_offset() const + [[nodiscard]] size_t bit_offset() const { return m_bit_offset; } |