table: code modernization

Change-Id: I9ca9a1905aea316726d0323f4537a2420890735f
diff --git a/daemon/table/pit-in-record.cpp b/daemon/table/pit-in-record.cpp
index e26e767..15131da 100644
--- a/daemon/table/pit-in-record.cpp
+++ b/daemon/table/pit-in-record.cpp
@@ -28,16 +28,11 @@
 namespace nfd {
 namespace pit {
 
-InRecord::InRecord(Face& face, EndpointId endpointId)
-  : FaceRecord(face, endpointId)
-{
-}
-
 void
 InRecord::update(const Interest& interest)
 {
-  this->FaceRecord::update(interest);
-  m_interest = const_cast<Interest&>(interest).shared_from_this();
+  FaceRecord::update(interest);
+  m_interest = interest.shared_from_this();
 }
 
 } // namespace pit