1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +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

@ -22,5 +22,5 @@ struct PBM {
using PBMLoadingContext = PortableImageMapLoadingContext<PBM>;
using PBMImageDecoderPlugin = PortableImageDecoderPlugin<PBMLoadingContext>;
bool read_image_data(PBMLoadingContext& context);
ErrorOr<void> read_image_data(PBMLoadingContext& context);
}