face: Implementing Face::getUri() method
Change-Id: I9a9f774b95784e5b7ec75472f1cc6cf64c4e5d7b
Refs: #1319
diff --git a/daemon/face/local-face.hpp b/daemon/face/local-face.hpp
index b7d973a..7023efb 100644
--- a/daemon/face/local-face.hpp
+++ b/daemon/face/local-face.hpp
@@ -31,7 +31,8 @@
class LocalFace : public Face
{
public:
- LocalFace();
+ explicit
+ LocalFace(const FaceUri& uri);
/** \brief get whether a LocalControlHeader feature is enabled
*
@@ -81,8 +82,8 @@
};
inline
-LocalFace::LocalFace()
- : Face(true)
+LocalFace::LocalFace(const FaceUri& uri)
+ : Face(uri, true)
, m_localControlHeaderFeatures(LOCAL_CONTROL_HEADER_FEATURE_MAX)
{
}