LibCompress: Make CanonicalCode::read_symbol const

This commit is contained in:
Lucas CHOLLET 2023-07-06 13:26:23 -04:00 committed by Andrew Kaster
parent f79165cefe
commit d2dd4142d1
Notes: sideshowbarker 2024-07-17 09:48:50 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
namespace Compress {
ErrorOr<size_t> BrotliDecompressionStream::CanonicalCode::read_symbol(LittleEndianInputBitStream& input_stream)
ErrorOr<size_t> BrotliDecompressionStream::CanonicalCode::read_symbol(LittleEndianInputBitStream& input_stream) const
{
size_t code_bits = 1;

View file

@ -31,7 +31,7 @@ public:
public:
CanonicalCode() = default;
ErrorOr<size_t> read_symbol(LittleEndianInputBitStream&);
ErrorOr<size_t> read_symbol(LittleEndianInputBitStream&) const;
void clear()
{
m_symbol_codes.clear();