1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibGfx/TGA: Make TGAImageDecoderPlugin::decode_tga_header() fallible

This commit is contained in:
Lucas CHOLLET 2023-07-09 00:57:20 -04:00 committed by Jelle Raaijmakers
parent e0ff3fbfad
commit a05516bb3e
2 changed files with 7 additions and 9 deletions

View file

@ -31,7 +31,7 @@ public:
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
private:
bool decode_tga_header();
ErrorOr<void> decode_tga_header();
OwnPtr<TGALoadingContext> m_context;
};