face: delete redundant protocol typedefs.
Change-Id: I32e1100e7395070a29ee813658aac82b63b6c4f2
diff --git a/daemon/face/datagram-face.hpp b/daemon/face/datagram-face.hpp
index 6a7accb..8050164 100644
--- a/daemon/face/datagram-face.hpp
+++ b/daemon/face/datagram-face.hpp
@@ -11,18 +11,18 @@
namespace nfd {
-template <class T>
+template <class Protocol>
class DatagramFace : public Face
{
public:
- typedef T protocol;
+ typedef Protocol protocol;
/** \brief Construct datagram face
*
* \param uri FaceUri for the face
* \param socket Protocol-specific socket for the created face
* \param isOnDemand If true, the face can be closed after it remains
- * unused for a certain amount of time.
+ * unused for a certain amount of time
*/
DatagramFace(const FaceUri& uri,
const shared_ptr<typename protocol::socket>& socket,