mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +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
|
@ -20,7 +20,7 @@ void Client::die()
|
|||
on_death();
|
||||
}
|
||||
|
||||
Optional<DecodedImage> Client::decode_image(const ReadonlyBytes& encoded_data)
|
||||
Optional<DecodedImage> Client::decode_image(ReadonlyBytes encoded_data)
|
||||
{
|
||||
if (encoded_data.is_empty())
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue