face: eliminate Transport::Packet wrapper type
Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
diff --git a/tests/daemon/face/unicast-udp-transport-fixture.hpp b/tests/daemon/face/unicast-udp-transport-fixture.hpp
index f9c8728..ce9006d 100644
--- a/tests/daemon/face/unicast-udp-transport-fixture.hpp
+++ b/tests/daemon/face/unicast-udp-transport-fixture.hpp
@@ -96,7 +96,7 @@
remoteWrite(const std::vector<uint8_t>& buf, bool needToCheck = true)
{
remoteSocket.async_send(boost::asio::buffer(buf),
- [needToCheck] (const boost::system::error_code& error, size_t) {
+ [needToCheck] (const auto& error, size_t) {
if (needToCheck) {
BOOST_REQUIRE_EQUAL(error, boost::system::errc::success);
}
@@ -109,7 +109,7 @@
UnicastUdpTransport* transport;
udp::endpoint localEp;
udp::socket remoteSocket;
- std::vector<Transport::Packet>* receivedPackets;
+ std::vector<RxPacket>* receivedPackets;
private:
unique_ptr<Face> face;