fw: pull FaceTable construction out of Forwarder class
Refs: #4922, #4973
Change-Id: Ibbd4a8840cb0d01ebbd4cabf9c34fa78a1d23db1
diff --git a/daemon/nfd.hpp b/daemon/nfd.hpp
index 508876c..787afb8 100644
--- a/daemon/nfd.hpp
+++ b/daemon/nfd.hpp
@@ -35,10 +35,10 @@
namespace nfd {
+class FaceTable;
class Forwarder;
-class CommandAuthenticator;
-// forward-declare management modules, in the order defined in management protocol
+class CommandAuthenticator;
class ForwarderStatusManager;
class FaceManager;
class FibManager;
@@ -110,8 +110,9 @@
std::string m_configFile;
ConfigSection m_configSection;
- unique_ptr<Forwarder> m_forwarder;
+ unique_ptr<FaceTable> m_faceTable;
unique_ptr<face::FaceSystem> m_faceSystem;
+ unique_ptr<Forwarder> m_forwarder;
ndn::KeyChain& m_keyChain;
shared_ptr<face::Face> m_internalFace;