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.