face: face refactoring completion
* delete old Face
* rename LpFace as Face
* eliminate LpFaceWrapper and use new Face
refs #3172
Change-Id: I08c3a5dfb4cc1b9834b30cccd9ab634535d0608c
diff --git a/daemon/face/null-face.cpp b/daemon/face/null-face.cpp
index 2c409a7..a793e3e 100644
--- a/daemon/face/null-face.cpp
+++ b/daemon/face/null-face.cpp
@@ -24,7 +24,6 @@
*/
#include "null-face.hpp"
-#include "lp-face-wrapper.hpp"
#include "generic-link-service.hpp"
#include "internal-transport.hpp"
@@ -37,12 +36,8 @@
shared_ptr<Face>
makeNullFace(const FaceUri& uri)
{
- auto face = make_unique<LpFace>(make_unique<GenericLinkService>(),
- make_unique<InternalForwarderTransport>(uri, uri, ndn::nfd::FACE_SCOPE_LOCAL));
- auto faceW = make_shared<LpFaceWrapper>(std::move(face));
- // TODO#3172 eliminate wrapper
-
- return faceW;
+ return make_shared<Face>(make_unique<GenericLinkService>(),
+ make_unique<InternalForwarderTransport>(uri, uri, ndn::nfd::FACE_SCOPE_LOCAL));
}
} // namespace face