1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:37:44 +00:00

LibCompress/Brotli: Remove CanonicalCode::clear()

This function was used in a single place and don't provide a huge
benefit over simply recreating the object.
This commit is contained in:
Lucas CHOLLET 2023-07-21 13:29:52 -04:00 committed by Andreas Kling
parent 63e72feee1
commit 3fdf5072ec
2 changed files with 2 additions and 8 deletions

View file

@ -27,11 +27,6 @@ public:
static ErrorOr<CanonicalCode> read_complex_prefix_code(LittleEndianInputBitStream&, size_t alphabet_size, size_t hskip);
ErrorOr<size_t> read_symbol(LittleEndianInputBitStream&) const;
void clear()
{
m_symbol_codes.clear();
m_symbol_values.clear();
}
private:
static ErrorOr<size_t> read_complex_prefix_code_length(LittleEndianInputBitStream&);