From 9f3ccfada9e8a33cb18f32cb515499a7452bde8e Mon Sep 17 00:00:00 2001 From: winscripter <142818255+winscripter@users.noreply.github.com> Date: Wed, 2 Sep 2026 20:51:53 +0400 Subject: [PATCH] Use primary constructor --- .../Formats/Jxl/Processing/RenderPipeline/YCbCrStage.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ImageSharp/Formats/Jxl/Processing/RenderPipeline/YCbCrStage.cs b/src/ImageSharp/Formats/Jxl/Processing/RenderPipeline/YCbCrStage.cs index 6de34c61bf..7c6ad0362b 100644 --- a/src/ImageSharp/Formats/Jxl/Processing/RenderPipeline/YCbCrStage.cs +++ b/src/ImageSharp/Formats/Jxl/Processing/RenderPipeline/YCbCrStage.cs @@ -11,13 +11,8 @@ namespace SixLabors.ImageSharp.Formats.Jxl.Processing.RenderPipeline; /// /// SIMD-based conversion from Y'Cb'Cr to RGB pixel buffers. /// -internal sealed class YCbCrStage : RenderPipelineStageBase +internal sealed class YCbCrStage(Configuration configuration) : RenderPipelineStageBase(configuration) { - public YCbCrStage(Configuration configuration) - : base(configuration) - { - } - /// public override string Name => "YCbCr";