Browse Source

Patch MemoryOwnerExtensions to fix #987

pull/991/head
Anton Firsov 7 years ago
committed by GitHub
parent
commit
9f93b09a11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/ImageSharp/Memory/MemoryOwnerExtensions.cs

1
src/ImageSharp/Memory/MemoryOwnerExtensions.cs

@ -13,7 +13,6 @@ namespace SixLabors.ImageSharp.Memory
/// </summary>
internal static class MemoryOwnerExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Span<T> GetSpan<T>(this IMemoryOwner<T> buffer)
=> buffer.Memory.Span;

Loading…
Cancel
Save