Browse Source

Fix warnings

pull/2180/head
James Jackson-South 4 years ago
parent
commit
c5c15759c7
  1. 6
      tests/ImageSharp.Benchmarks/General/Buffer2D_DangerousGetRowSpan.cs

6
tests/ImageSharp.Benchmarks/General/Buffer2D_DangerousGetRowSpan.cs

@ -1,7 +1,6 @@
// Copyright (c) Six Labors.
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
@ -12,7 +11,8 @@ namespace SixLabors.ImageSharp.Benchmarks.General
{
private const int Height = 1024;
[Params(0.5, 2.0, 10.0)] public double SizeMegaBytes { get; set; }
[Params(0.5, 2.0, 10.0)]
public double SizeMegaBytes { get; set; }
private Buffer2D<Rgba32> buffer;

Loading…
Cancel
Save