summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCompress/Zlib.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-11 01:06:34 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-11 01:27:46 +0100
commit80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b (patch)
tree80482418dd76af80034d5dc215db51c12ce27f67 /Userland/Libraries/LibCompress/Zlib.h
parent8b1108e4858f797c9216dc8ae4a3918ad50c73b4 (diff)
downloadserenity-80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b.zip
Everywhere: Pass AK::ReadonlyBytes by value
Diffstat (limited to 'Userland/Libraries/LibCompress/Zlib.h')
-rw-r--r--Userland/Libraries/LibCompress/Zlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCompress/Zlib.h b/Userland/Libraries/LibCompress/Zlib.h
index 148ecca809..f65457a640 100644
--- a/Userland/Libraries/LibCompress/Zlib.h
+++ b/Userland/Libraries/LibCompress/Zlib.h
@@ -22,7 +22,7 @@ public:
static Optional<ByteBuffer> decompress_all(ReadonlyBytes);
private:
- Zlib(const ReadonlyBytes& data);
+ Zlib(ReadonlyBytes data);
u8 m_compression_method;
u8 m_compression_info;