1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

LibGfx: Use * a b s t r a c t i o n * in PNGChunk::store_type()

This commit is contained in:
Nico Weber 2023-03-15 11:27:10 +01:00 committed by Linus Groh
parent 1a03f45a73
commit fd57ba1d90

View file

@ -55,7 +55,7 @@ PNGChunk::PNGChunk(DeprecatedString type)
ErrorOr<void> PNGChunk::store_type()
{
TRY(m_data.try_append(type().bytes()));
TRY(add(type().bytes()));
return {};
}