fw: FaceTable signals use Face& instead of shared_ptr

refs #3205

Change-Id: I53ecd0d6a13d379eb1dfb872041bdde8501f05e7
diff --git a/tests/daemon/fw/face-table.t.cpp b/tests/daemon/fw/face-table.t.cpp
index e8962b8..5fcce80 100644
--- a/tests/daemon/fw/face-table.t.cpp
+++ b/tests/daemon/fw/face-table.t.cpp
@@ -42,8 +42,8 @@
 
   std::vector<FaceId> addHistory;
   std::vector<FaceId> removeHistory;
-  faceTable.afterAdd.connect([&] (shared_ptr<Face> face) { addHistory.push_back(face->getId()); });
-  faceTable.beforeRemove.connect([&] (shared_ptr<Face> face) { removeHistory.push_back(face->getId()); });
+  faceTable.afterAdd.connect([&] (const Face& face) { addHistory.push_back(face.getId()); });
+  faceTable.beforeRemove.connect([&] (const Face& face) { removeHistory.push_back(face.getId()); });
 
   shared_ptr<Face> face1 = make_shared<DummyFace>();
   shared_ptr<Face> face2 = make_shared<DummyFace>();
diff --git a/tests/daemon/fw/strategy.t.cpp b/tests/daemon/fw/strategy.t.cpp
index 7a15df4..f4b4543 100644
--- a/tests/daemon/fw/strategy.t.cpp
+++ b/tests/daemon/fw/strategy.t.cpp
@@ -48,11 +48,11 @@
   FaceTableAccessTestStrategy(Forwarder& forwarder)
     : DummyStrategy(forwarder, Name("ndn:/strategy"))
   {
-    this->afterAddFace.connect([this] (shared_ptr<Face> face) {
-      this->addedFaces.push_back(face->getId());
+    this->afterAddFace.connect([this] (const Face& face) {
+      this->addedFaces.push_back(face.getId());
     });
-    this->beforeRemoveFace.connect([this] (shared_ptr<Face> face) {
-      this->removedFaces.push_back(face->getId());
+    this->beforeRemoveFace.connect([this] (const Face& face) {
+      this->removedFaces.push_back(face.getId());
     });
   }