Skip to content

Commit

Permalink
fixed the build error in Benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Mar 24, 2024
1 parent ef9113e commit 6f49766
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/SuperSocket.Benchmarks/TransparentPipeConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

namespace SuperSocket.Benchmarks
{
public class TransparentPipeConnection<TPackageInfo> : PipeConnection<TPackageInfo>
public class TransparentPipeConnection : PipeConnection
{
private TaskCompletionSource<int> _tcs;
private Task<int> _channelTask;

public TransparentPipeConnection(IPipelineFilter<TPackageInfo> pipelineFilter, ConnectionOptions options)
: base(pipelineFilter, options)
public TransparentPipeConnection(ConnectionOptions options)
: base(options)
{
_tcs = new TaskCompletionSource<int>();
_channelTask = _tcs.Task;
Expand Down

0 comments on commit 6f49766

Please sign in to comment.