diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-10 01:00:18 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | 43f98ac6e1eb913846980226b2524a4b419c6183 (patch) | |
tree | b0c508cafcd9cb9d4698d0bad4579cfc433a9e14 /Userland/Libraries/LibCompress/Zlib.cpp | |
parent | 874c7bba289222916911caf3102c77ee3a261d77 (diff) | |
download | serenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip |
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/Libraries/LibCompress/Zlib.cpp')
-rw-r--r-- | Userland/Libraries/LibCompress/Zlib.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCompress/Zlib.cpp b/Userland/Libraries/LibCompress/Zlib.cpp index a62d0633a1..04fa6be768 100644 --- a/Userland/Libraries/LibCompress/Zlib.cpp +++ b/Userland/Libraries/LibCompress/Zlib.cpp @@ -69,7 +69,7 @@ u32 ZlibDecompressor::checksum() return m_checksum; } -ErrorOr<NonnullOwnPtr<ZlibCompressor>> ZlibCompressor::construct(MaybeOwned<AK::Stream> stream, ZlibCompressionLevel compression_level) +ErrorOr<NonnullOwnPtr<ZlibCompressor>> ZlibCompressor::construct(MaybeOwned<Stream> stream, ZlibCompressionLevel compression_level) { // Zlib only defines Deflate as a compression method. auto compression_method = ZlibCompressionMethod::Deflate; @@ -83,7 +83,7 @@ ErrorOr<NonnullOwnPtr<ZlibCompressor>> ZlibCompressor::construct(MaybeOwned<AK:: return zlib_compressor; } -ZlibCompressor::ZlibCompressor(MaybeOwned<AK::Stream> stream, NonnullOwnPtr<AK::Stream> compressor_stream) +ZlibCompressor::ZlibCompressor(MaybeOwned<Stream> stream, NonnullOwnPtr<Stream> compressor_stream) : m_output_stream(move(stream)) , m_compressor(move(compressor_stream)) { @@ -164,7 +164,7 @@ ErrorOr<void> ZlibCompressor::finish() ErrorOr<ByteBuffer> ZlibCompressor::compress_all(ReadonlyBytes bytes, ZlibCompressionLevel compression_level) { auto output_stream = TRY(try_make<AllocatingMemoryStream>()); - auto zlib_stream = TRY(ZlibCompressor::construct(MaybeOwned<AK::Stream>(*output_stream), compression_level)); + auto zlib_stream = TRY(ZlibCompressor::construct(MaybeOwned<Stream>(*output_stream), compression_level)); TRY(zlib_stream->write_entire_buffer(bytes)); |