table: code modernization

Change-Id: I9ca9a1905aea316726d0323f4537a2420890735f
diff --git a/daemon/table/pit-in-record.hpp b/daemon/table/pit-in-record.hpp
index f03c608..002537b 100644
--- a/daemon/table/pit-in-record.hpp
+++ b/daemon/table/pit-in-record.hpp
@@ -31,30 +31,27 @@
 namespace nfd {
 namespace pit {
 
-/** \brief contains information about an Interest from an incoming face
+/** \brief Contains information about an Interest from an incoming face
  */
 class InRecord : public FaceRecord
 {
 public:
-  InRecord(Face& face, EndpointId endpointId);
+  using FaceRecord::FaceRecord;
+
+  const Interest&
+  getInterest() const
+  {
+    BOOST_ASSERT(m_interest != nullptr);
+    return *m_interest;
+  }
 
   void
   update(const Interest& interest);
 
-  const Interest&
-  getInterest() const;
-
 private:
   shared_ptr<const Interest> m_interest;
 };
 
-inline const Interest&
-InRecord::getInterest() const
-{
-  BOOST_ASSERT(static_cast<bool>(m_interest));
-  return *m_interest;
-}
-
 } // namespace pit
 } // namespace nfd