diff --git a/indexer/feature.hpp b/indexer/feature.hpp index f8cb8522b6..eb69d02bbf 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -14,8 +14,7 @@ #include "../std/string.hpp" #include "../std/vector.hpp" #include "../std/array.hpp" - -#include +#include "../std/bind.hpp" class ArrayByteSource; class FeatureBase; @@ -45,6 +44,7 @@ public: template inline void AddTypes(TIter beg, TIter end) { + // !WTF! with GCC int const count = min(static_cast(m_maxTypesCount), static_cast(distance(beg, end))); m_Types.assign(beg, beg + count); } @@ -80,7 +80,7 @@ public: template void ForEachPointRef(ToDo & toDo) const { - for_each(m_Geometry.begin(), m_Geometry.end(), boost::bind(ref(toDo), _1)); + for_each(m_Geometry.begin(), m_Geometry.end(), bind(ref(toDo), _1)); } //@}