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:
parent
e0ff3fbfad
commit
a05516bb3e
2 changed files with 7 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue