Skip to content

Commit

Permalink
Correct the type in the override.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Oct 15, 2023
1 parent 00c6915 commit 7eeaa02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Magick.NET/Netstandard21/Pixels/SafePixelCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ namespace ImageMagick;

internal sealed partial class SafePixelCollection
{
public override ReadOnlySpan<byte> GetReadOnlyArea(int x, int y, int width, int height)
public override ReadOnlySpan<QuantumType> GetReadOnlyArea(int x, int y, int width, int height)
{
CheckArea(x, y, width, height);

return base.GetReadOnlyArea(x, y, width, height);
}

public override ReadOnlySpan<byte> GetReadOnlyArea(IMagickGeometry geometry)
public override ReadOnlySpan<QuantumType> GetReadOnlyArea(IMagickGeometry geometry)
{
Throw.IfNull(nameof(geometry), geometry);

Expand Down

0 comments on commit 7eeaa02

Please sign in to comment.