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>();