mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
Everywhere: Pass AK::ReadonlyBytes by value
This commit is contained in:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user