Skip to content

Commit 55f6edd

Browse files
committed
Fix build
1 parent 59b1297 commit 55f6edd

File tree

1 file changed

+3
-3
lines changed
  • src/benchmarks/micro/libraries/System.IO.Compression

1 file changed

+3
-3
lines changed

src/benchmarks/micro/libraries/System.IO.Compression/Zstandard.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using BenchmarkDotNet.Attributes;
77
using MicroBenchmarks;
88

9-
#if NET11_0_OR_GREATER
9+
#if !NET11_0_OR_GREATER
1010

1111
namespace System.IO.Compression
1212
{
@@ -15,8 +15,8 @@ public class Zstandard : CompressionStreamPerfTestBase
1515
{
1616
private const int Window = 22;
1717

18-
public override Stream CreateStream(Stream stream, CompressionMode mode) => new ZstandardStream(stream, mode);
19-
public override Stream CreateStream(Stream stream, CompressionLevel level) => new ZstandardStream(stream, level);
18+
public override Stream CreateStream(Stream stream, CompressionMode mode, bool leaveOpen) => new ZstandardStream(stream, mode, leaveOpen);
19+
public override Stream CreateStream(Stream stream, CompressionLevel level, bool leaveOpen) => new ZstandardStream(stream, level, leaveOpen);
2020

2121
[Benchmark]
2222
public Span<byte> Compress_WithState()

0 commit comments

Comments
 (0)