Skip to content

Commit 6e70477

Browse files
Update src/ImageSharp/Memory/Buffer2D{T}.cs
Co-authored-by: Anton Firszov <[email protected]>
1 parent 8f18e35 commit 6e70477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Memory/Buffer2D{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ internal Memory<T> GetSafeRowMemory(int y)
138138
{
139139
DebugGuard.MustBeGreaterThanOrEqualTo(y, 0, nameof(y));
140140
DebugGuard.MustBeLessThan(y, this.Height, nameof(y));
141-
return this.FastMemoryGroup.View!.GetBoundedMemorySlice(y * (long)this.Width, this.Width);
141+
return this.FastMemoryGroup.View.GetBoundedMemorySlice(y * (long)this.Width, this.Width);
142142
}
143143

144144
/// <summary>

0 commit comments

Comments
 (0)