diff options
Diffstat (limited to 'Userland/Libraries/LibCompress/Deflate.cpp')
-rw-r--r-- | Userland/Libraries/LibCompress/Deflate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCompress/Deflate.cpp b/Userland/Libraries/LibCompress/Deflate.cpp index f1749868bc..54f7911ec3 100644 --- a/Userland/Libraries/LibCompress/Deflate.cpp +++ b/Userland/Libraries/LibCompress/Deflate.cpp @@ -114,7 +114,7 @@ u32 CanonicalCode::read_symbol(InputBitStream& stream) const // FIXME: This is very inefficient and could greatly be improved by implementing this // algorithm: https://www.hanshq.net/zip.html#huffdec size_t index; - if (AK::binary_search(m_symbol_codes.span(), code_bits, &index)) + if (binary_search(m_symbol_codes.span(), code_bits, &index)) return m_symbol_values[index]; } } |