We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f228422 commit 64ad5e1Copy full SHA for 64ad5e1
1 file changed
test/net/integration/bufstore/service.cpp
@@ -32,7 +32,7 @@ auto create_packet(BufferStore& bufstore) {
32
// get buffer (as packet + data)
33
auto* ptr = (Packet*) bufstore.get_buffer();
34
// place packet at front of buffer
35
- new (ptr) Packet(MTU, 0, 0, &bufstore);
+ new (ptr) Packet(0, 0, MTU, &bufstore);
36
// regular shared_ptr that calls delete on Packet
37
return std::unique_ptr<Packet>(ptr);
38
}
0 commit comments