table: code modernization

Change-Id: I9ca9a1905aea316726d0323f4537a2420890735f
diff --git a/daemon/table/fib-nexthop.hpp b/daemon/table/fib-nexthop.hpp
index e0cf599..80609ba 100644
--- a/daemon/table/fib-nexthop.hpp
+++ b/daemon/table/fib-nexthop.hpp
@@ -32,14 +32,16 @@
 namespace nfd {
 namespace fib {
 
-/** \class NextHop
- *  \brief represents a nexthop record in FIB entry
+/** \brief Represents a nexthop record in a FIB entry
  */
 class NextHop
 {
 public:
-  explicit
-  NextHop(Face& face, EndpointId endpointId);
+  NextHop(Face& face, EndpointId endpointId)
+    : m_face(&face)
+    , m_endpointId(endpointId)
+  {
+  }
 
   Face&
   getFace() const
@@ -66,9 +68,9 @@
   }
 
 private:
-  Face* m_face;
+  Face* m_face; // pointer instead of reference so that NextHop is movable
   EndpointId m_endpointId;
-  uint64_t m_cost;
+  uint64_t m_cost = 0;
 };
 
 } // namespace fib