fw: pull FaceTable construction out of Forwarder class
Refs: #4922, #4973
Change-Id: Ibbd4a8840cb0d01ebbd4cabf9c34fa78a1d23db1
diff --git a/daemon/fw/strategy.hpp b/daemon/fw/strategy.hpp
index 8c62329..99e4826 100644
--- a/daemon/fw/strategy.hpp
+++ b/daemon/fw/strategy.hpp
@@ -322,13 +322,13 @@
Face*
getFace(FaceId id) const
{
- return m_forwarder.getFace(id);
+ return getFaceTable().get(id);
}
const FaceTable&
getFaceTable() const
{
- return m_forwarder.getFaceTable();
+ return m_forwarder.m_faceTable;
}
protected: // instance name
@@ -379,8 +379,8 @@
find(const Name& instanceName);
protected: // accessors
- signal::Signal<FaceTable, Face&>& afterAddFace;
- signal::Signal<FaceTable, Face&>& beforeRemoveFace;
+ signal::Signal<FaceTable, Face>& afterAddFace;
+ signal::Signal<FaceTable, Face>& beforeRemoveFace;
private: // instance fields
Name m_name;