summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2023-03-12 13:52:14 -0400
committerAndreas Kling <kling@serenityos.org>2023-03-24 10:56:58 +0100
commit387894cdf21103d4c89a93be2e9dbade2721d25e (patch)
treebbc7b4e3cd8a4e26b5bb4132a8cb7cb7936395b6 /Userland/Libraries/LibGfx
parent208e3f197846ce34ffb8153b71162a5b4583ef6e (diff)
downloadserenity-387894cdf21103d4c89a93be2e9dbade2721d25e.zip
LibGfx: Make `PortableImageDecoderPlugin` constructor private
Diffstat (limited to 'Userland/Libraries/LibGfx')
-rw-r--r--Userland/Libraries/LibGfx/ImageFormats/PortableImageMapLoader.h3
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;
};