From cb570e6be0b2779d62752cf734cc4edb013e6c2a Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Tue, 6 Dec 2016 21:20:28 +1100 Subject: [PATCH] Slight decrease in memory usage when resizing --- .../Samplers/Processors/ResamplingWeightedProcessor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs b/src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs index 1d9d3da35..e06c0f10c 100644 --- a/src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs +++ b/src/ImageSharp/Samplers/Processors/ResamplingWeightedProcessor.cs @@ -133,10 +133,10 @@ namespace ImageSharp.Processors /// /// Represents the weight to be added to a scaled pixel. /// - protected class Weight + protected struct Weight { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the struct. /// /// The index. /// The value.