mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibCompress: Make CanonicalCode::read_symbol
const
This commit is contained in:
parent
f79165cefe
commit
d2dd4142d1
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
namespace Compress {
|
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;
|
size_t code_bits = 1;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CanonicalCode() = default;
|
CanonicalCode() = default;
|
||||||
ErrorOr<size_t> read_symbol(LittleEndianInputBitStream&);
|
ErrorOr<size_t> read_symbol(LittleEndianInputBitStream&) const;
|
||||||
void clear()
|
void clear()
|
||||||
{
|
{
|
||||||
m_symbol_codes.clear();
|
m_symbol_codes.clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue