face: delete redundant protocol typedefs.
Change-Id: I32e1100e7395070a29ee813658aac82b63b6c4f2
diff --git a/daemon/face/udp-face.hpp b/daemon/face/udp-face.hpp
index 6c1e3a8..4e882c0 100644
--- a/daemon/face/udp-face.hpp
+++ b/daemon/face/udp-face.hpp
@@ -9,8 +9,7 @@
#include "datagram-face.hpp"
-namespace nfd
-{
+namespace nfd {
/**
* \brief Implementation of Face abstraction that uses UDP
@@ -19,12 +18,9 @@
class UdpFace : public DatagramFace<boost::asio::ip::udp>
{
public:
- typedef boost::asio::ip::udp protocol;
-
UdpFace(const shared_ptr<protocol::socket>& socket,
bool isOnDemand);
- //@todo if needed by other datagramFaces, it could be moved to datagram-face.hpp
/**
* \brief Manages the first datagram received by the UdpChannel socket set on listening
*/
@@ -32,7 +28,6 @@
handleFirstReceive(const uint8_t* buffer,
std::size_t nBytesReceived,
const boost::system::error_code& error);
-
};
} // namespace nfd