diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2023-03-12 13:52:14 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-24 10:56:58 +0100 |
commit | 387894cdf21103d4c89a93be2e9dbade2721d25e (patch) | |
tree | bbc7b4e3cd8a4e26b5bb4132a8cb7cb7936395b6 /Userland/Libraries/LibGfx | |
parent | 208e3f197846ce34ffb8153b71162a5b4583ef6e (diff) | |
download | serenity-387894cdf21103d4c89a93be2e9dbade2721d25e.zip |
LibGfx: Make `PortableImageDecoderPlugin` constructor private
Diffstat (limited to 'Userland/Libraries/LibGfx')
-rw-r--r-- | Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h b/Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h index 9426bca36e..655f836054 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h +++ b/Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h @@ -52,7 +52,6 @@ public: static bool sniff(ReadonlyBytes); static ErrorOr<NonnullOwnPtr<ImageDecoderPlugin>> create(ReadonlyBytes); - PortableImageDecoderPlugin(u8 const*, size_t); virtual ~PortableImageDecoderPlugin() override = default; virtual IntSize size() override; @@ -68,6 +67,8 @@ public: virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override; private: + PortableImageDecoderPlugin(u8 const*, size_t); + OwnPtr<TContext> m_context; }; |