Browse Source

Fix build

pull/2006/head
James Jackson-South 5 years ago
parent
commit
95cdd1cef5
  1. 1
      src/ImageSharp/Formats/Webp/WebpDecoder.cs
  2. 4
      tests/ImageSharp.Benchmarks/Config.cs

1
src/ImageSharp/Formats/Webp/WebpDecoder.cs

@ -49,6 +49,5 @@ namespace SixLabors.ImageSharp.Formats.Webp
return new WebpDecoderCore(configuration, this).Identify(configuration, stream, cancellationToken);
}
}
}

4
tests/ImageSharp.Benchmarks/Config.cs

@ -34,7 +34,7 @@ namespace SixLabors.ImageSharp.Benchmarks
public MultiFramework() => this.AddJob(
Job.Default.WithRuntime(ClrRuntime.Net472),
Job.Default.WithRuntime(CoreRuntime.Core31),
Job.Default.WithRuntime(CoreRuntime.Core50).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
Job.Default.WithRuntime(CoreRuntime.Core50).WithArguments(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
}
public class ShortMultiFramework : Config
@ -42,7 +42,7 @@ namespace SixLabors.ImageSharp.Benchmarks
public ShortMultiFramework() => this.AddJob(
Job.Default.WithRuntime(ClrRuntime.Net472).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3),
Job.Default.WithRuntime(CoreRuntime.Core31).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3),
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3).WithArguments(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
}
public class ShortCore31 : Config

Loading…
Cancel
Save