LibGfx: Make PortableImageDecoderPlugin constructor private

This commit is contained in:
Lucas CHOLLET 2023-03-12 13:52:14 -04:00 committed by Andreas Kling
commit 387894cdf2
Notes: sideshowbarker 2024-07-17 18:23:22 +09:00

View file

@ -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;
};