Skip to content

Commit

Permalink
Migration to target-typed expression
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Aug 14, 2023
1 parent 97c6f1b commit df6b912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal GenericConnectionContext(ConnectionContext context, MemoryAllocator<byt
?? defaultAllocator;
buffer = allocator(bufferSize);
transport = context;
protocol = new ProtocolPipeStream(context.Transport, allocator, bufferSize);
protocol = new(context.Transport, allocator, bufferSize);
}

Memory<byte> IConnectionContext.Buffer => buffer.Memory;
Expand Down

0 comments on commit df6b912

Please sign in to comment.