face: remove awkward Face::setLocal, use a constructor argument instead.
Change-Id: Ic366ecdc83c5771138ff584ffb944a4e17300eb1
diff --git a/daemon/face/local-face.hpp b/daemon/face/local-face.hpp
index 6175b5d..b7d973a 100644
--- a/daemon/face/local-face.hpp
+++ b/daemon/face/local-face.hpp
@@ -82,9 +82,9 @@
inline
LocalFace::LocalFace()
- : m_localControlHeaderFeatures(LOCAL_CONTROL_HEADER_FEATURE_MAX)
+ : Face(true)
+ , m_localControlHeaderFeatures(LOCAL_CONTROL_HEADER_FEATURE_MAX)
{
- setLocal(true);
}
inline bool