summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/Reader.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/Reader.h
parent8b1108e4858f797c9216dc8ae4a3918ad50c73b4 (diff)
downloadserenity-80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b.zip
Everywhere: Pass AK::ReadonlyBytes by value
Diffstat (limited to 'Userland/Libraries/LibPDF/Reader.h')
-rw-r--r--Userland/Libraries/LibPDF/Reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibPDF/Reader.h b/Userland/Libraries/LibPDF/Reader.h
index d8cd5f13c2..ba03af849c 100644
--- a/Userland/Libraries/LibPDF/Reader.h
+++ b/Userland/Libraries/LibPDF/Reader.h
@@ -16,12 +16,12 @@ namespace PDF {
class Reader {
public:
- explicit Reader(ReadonlyBytes const& bytes)
+ explicit Reader(ReadonlyBytes bytes)
: m_bytes(bytes)
{
}
- ALWAYS_INLINE ReadonlyBytes const& bytes() const { return m_bytes; }
+ ALWAYS_INLINE ReadonlyBytes bytes() const { return m_bytes; }
ALWAYS_INLINE size_t offset() const { return m_offset; }
bool done() const