From fd57ba1d903b2e1f84d26833e9598d07503f75ae Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 15 Mar 2023 11:27:10 +0100 Subject: [PATCH] LibGfx: Use * a b s t r a c t i o n * in PNGChunk::store_type() --- Userland/Libraries/LibGfx/PNGWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/PNGWriter.cpp b/Userland/Libraries/LibGfx/PNGWriter.cpp index d074f4503f..e6f772a2c1 100644 --- a/Userland/Libraries/LibGfx/PNGWriter.cpp +++ b/Userland/Libraries/LibGfx/PNGWriter.cpp @@ -55,7 +55,7 @@ PNGChunk::PNGChunk(DeprecatedString type) ErrorOr PNGChunk::store_type() { - TRY(m_data.try_append(type().bytes())); + TRY(add(type().bytes())); return {}; }