face: Face::setLocalControlHeaderFeature LLVM fix
workaround LLVM Bug 16816 on OS X 10.9
refs #1264
Change-Id: I364bfaf4ac4600bd031422dad36afd1377b87338
diff --git a/daemon/face/face.cpp b/daemon/face/face.cpp
index 76ec85b..cef9c1b 100644
--- a/daemon/face/face.cpp
+++ b/daemon/face/face.cpp
@@ -76,8 +76,9 @@
BOOST_STATIC_ASSERT(LOCAL_CONTROL_HEADER_FEATURE_ANY == 0);
m_localControlHeaderFeatures[LOCAL_CONTROL_HEADER_FEATURE_ANY] =
std::find(m_localControlHeaderFeatures.begin() + 1,
- m_localControlHeaderFeatures.end(), true) !=
+ m_localControlHeaderFeatures.end(), true) <
m_localControlHeaderFeatures.end();
+ // 'find(..) < .end()' instead of 'find(..) != .end()' due to LLVM Bug 16816
}
} //namespace nfd