mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
Everywhere: Pass AK::ReadonlyBytes by value
This commit is contained in:
parent
8b1108e485
commit
80d4e830a0
42 changed files with 96 additions and 96 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue