Browse Source

remove unused scratchBuffer field

pull/2569/head
Poker 3 years ago
parent
commit
6fed95b516
No known key found for this signature in database GPG Key ID: C65A6AD457D5C8F8
  1. 5
      src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs

5
src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs

@ -22,11 +22,6 @@ internal abstract class BitWriterBase
/// </summary>
private byte[] buffer;
/// <summary>
/// A scratch buffer to reduce allocations.
/// </summary>
private ScratchBuffer scratchBuffer; // mutable struct, don't make readonly
/// <summary>
/// Initializes a new instance of the <see cref="BitWriterBase"/> class.
/// </summary>

Loading…
Cancel
Save