summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/ObjectDerivatives.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/LibPDF/ObjectDerivatives.h
parent8b1108e4858f797c9216dc8ae4a3918ad50c73b4 (diff)
downloadserenity-80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b.zip
Everywhere: Pass AK::ReadonlyBytes by value
Diffstat (limited to 'Userland/Libraries/LibPDF/ObjectDerivatives.h')
-rw-r--r--Userland/Libraries/LibPDF/ObjectDerivatives.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibPDF/ObjectDerivatives.h b/Userland/Libraries/LibPDF/ObjectDerivatives.h
index 9c23023361..ed19f2fb4d 100644
--- a/Userland/Libraries/LibPDF/ObjectDerivatives.h
+++ b/Userland/Libraries/LibPDF/ObjectDerivatives.h
@@ -157,7 +157,7 @@ private:
class PlainTextStreamObject final : public StreamObject {
public:
- PlainTextStreamObject(NonnullRefPtr<DictObject> const& dict, ReadonlyBytes const& bytes)
+ PlainTextStreamObject(NonnullRefPtr<DictObject> const& dict, ReadonlyBytes bytes)
: StreamObject(dict)
, m_bytes(bytes)
{