1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07: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 PPM {
using PPMLoadingContext = PortableImageMapLoadingContext<PPM>;
using PPMImageDecoderPlugin = PortableImageDecoderPlugin<PPMLoadingContext>;
bool read_image_data(PPMLoadingContext& context);
ErrorOr<void> read_image_data(PPMLoadingContext& context);
}