fw: pull FaceTable construction out of Forwarder class
Refs: #4922, #4973
Change-Id: Ibbd4a8840cb0d01ebbd4cabf9c34fa78a1d23db1
diff --git a/daemon/fw/face-table.hpp b/daemon/fw/face-table.hpp
index f501813..d1c51c7 100644
--- a/daemon/fw/face-table.hpp
+++ b/daemon/fw/face-table.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2017, Regents of the University of California,
+/*
+ * Copyright (c) 2014-2019, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -27,6 +27,7 @@
#define NFD_DAEMON_FW_FACE_TABLE_HPP
#include "face/face.hpp"
+
#include <boost/range/adaptor/indirected.hpp>
#include <boost/range/adaptor/map.hpp>
@@ -79,15 +80,15 @@
end() const;
public: // signals
- /** \brief fires after a face is added
+ /** \brief Fires immediately after a face is added.
*/
- signal::Signal<FaceTable, Face&> afterAdd;
+ signal::Signal<FaceTable, Face> afterAdd;
- /** \brief fires before a face is removed
+ /** \brief Fires immediately before a face is removed.
*
- * When this signal is emitted, face is still in FaceTable and has valid FaceId.
+ * When this signal is emitted, the face is still in FaceTable and has a valid FaceId.
*/
- signal::Signal<FaceTable, Face&> beforeRemove;
+ signal::Signal<FaceTable, Face> beforeRemove;
private:
void