fw: FaceTable signals use Face& instead of shared_ptr
refs #3205
Change-Id: I53ecd0d6a13d379eb1dfb872041bdde8501f05e7
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());
});
}