Browse Source

Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
pull/3120/head
James Jackson-South 2 months ago
committed by GitHub
parent
commit
04bac15be1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs

2
src/ImageSharp/Memory/AllocationTrackedMemoryManager{T}.cs

@ -54,7 +54,7 @@ public abstract class AllocationTrackedMemoryManager<T> : MemoryManager<T>
/// <see cref="MemoryAllocator"/> calls this exactly once after <c>AllocateCore</c> returns.
/// Derived allocators should not call it themselves; they only construct the concrete owner.
/// </remarks>
internal virtual void AttachAllocationTracking(MemoryAllocator allocator, long lengthInBytes)
protected internal virtual void AttachAllocationTracking(MemoryAllocator allocator, long lengthInBytes)
=> this.allocationTracking.Attach(allocator, lengthInBytes);
/// <summary>

Loading…
Cancel
Save