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
Notes: sideshowbarker 2024-07-17 09:41:18 +09:00
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);
}