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

LibGfx/PortableFormat: Propagate errors from read_image_data()

This commit is contained in:
Lucas CHOLLET 2023-03-12 22:55:47 -04:00 committed by Andreas Kling
parent 2356b48f13
commit 7ec310384a
7 changed files with 30 additions and 66 deletions

View file

@ -23,5 +23,5 @@ struct PGM {
using PGMLoadingContext = PortableImageMapLoadingContext<PGM>;
using PGMImageDecoderPlugin = PortableImageDecoderPlugin<PGMLoadingContext>;
bool read_image_data(PGMLoadingContext& context);
ErrorOr<void> read_image_data(PGMLoadingContext& context);
}