Skip to content

Commit 72af1a7

Browse files
committed
Remove unused constructor argument.
1 parent e3d0357 commit 72af1a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/MySqlConnector/Protocol/PayloadData.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ namespace MySqlConnector.Protocol;
55

66
internal readonly struct PayloadData : IDisposable
77
{
8-
public PayloadData(byte[] data, bool isPooled = false)
9-
{
10-
Memory = data;
11-
m_isPooled = isPooled;
12-
}
8+
public PayloadData(byte[] data) => Memory = data;
139

1410
public PayloadData(ReadOnlyMemory<byte> data, bool isPooled = false)
1511
{

0 commit comments

Comments
 (0)