fw: FaceTable iterator dereferences to Face& instead of shared_ptr
This commit also improves the speed and reliability of
Mgmt/TestFaceManager/CreateFace test suite.
refs #3205
Change-Id: Idd013488ced2d7f8072ef8a3d910f94da2e0c8ac
diff --git a/daemon/fw/face-table.cpp b/daemon/fw/face-table.cpp
index b2f1332..2d40bbc 100644
--- a/daemon/fw/face-table.cpp
+++ b/daemon/fw/face-table.cpp
@@ -120,7 +120,7 @@
FaceTable::ForwardRange
FaceTable::getForwardRange() const
{
- return m_faces | boost::adaptors::map_values;
+ return m_faces | boost::adaptors::map_values | boost::adaptors::indirected;
}
FaceTable::const_iterator