mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +00:00
LibGfx: Provide a default implementation for ImageDecoder::initialize
In order to ease the removal of this function, let's provide a no-op default implementation so decoders can stop implementing it one by one. First step of #19893
This commit is contained in:
parent
e84def4890
commit
babe924da1
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
virtual IntSize size() = 0;
|
||||
|
||||
virtual ErrorOr<void> initialize() = 0;
|
||||
virtual ErrorOr<void> initialize() { return {}; }
|
||||
|
||||
virtual bool is_animated() = 0;
|
||||
virtual size_t loop_count() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue