Skip to content

Commit 15fd941

Browse files
Cleanup
1 parent 631b64e commit 15fd941

4 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/ImageSharp/Memory/Allocators/Internals/SharedArrayPoolBuffer{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal class SharedArrayPoolBuffer<T> : ManagedBufferBase<T>, IRefCounted
1313
where T : struct
1414
{
1515
private readonly int lengthInBytes;
16-
private LifetimeGuard lifetimeGuard;
16+
private readonly LifetimeGuard lifetimeGuard;
1717

1818
public SharedArrayPoolBuffer(int lengthInElements)
1919
{

src/ImageSharp/Memory/Allocators/SimpleGcMemoryAllocator.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4-
using System.Buffers;
5-
using System.Runtime.CompilerServices;
64
using SixLabors.ImageSharp.Memory.Internals;
75

86
namespace SixLabors.ImageSharp.Memory;

src/ImageSharp/Memory/Allocators/UniformUnmanagedMemoryPoolMemoryAllocator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4-
using System.Buffers;
54
using System.Runtime.CompilerServices;
65
using SixLabors.ImageSharp.Memory.Internals;
76

src/ImageSharp/Memory/Allocators/UnmanagedMemoryAllocator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the Six Labors Split License.
33

44
using System.Buffers;
5-
using System.Runtime.CompilerServices;
65
using SixLabors.ImageSharp.Memory.Internals;
76

87
namespace SixLabors.ImageSharp.Memory;

0 commit comments

Comments
 (0)