face: eliminate Transport::Packet wrapper type
Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
diff --git a/tests/daemon/face/udp-channel-fixture.hpp b/tests/daemon/face/udp-channel-fixture.hpp
index 81d75f3..5192a97 100644
--- a/tests/daemon/face/udp-channel-fixture.hpp
+++ b/tests/daemon/face/udp-channel-fixture.hpp
@@ -56,8 +56,7 @@
BOOST_REQUIRE(newFace != nullptr);
connectFaceClosedSignal(*newFace, [this] { limitedIo.afterOp(); });
clientFaces.push_back(newFace);
- face::Transport::Packet pkt(ndn::encoding::makeStringBlock(300, "hello"));
- newFace->getTransport()->send(std::move(pkt));
+ newFace->getTransport()->send(ndn::encoding::makeStringBlock(300, "hello"));
limitedIo.afterOp();
},
ChannelFixture::unexpectedFailure);