From 5c7956c1a28590dc2671339ca4f74ce44fa39d0c Mon Sep 17 00:00:00 2001 From: vng Date: Fri, 7 Jan 2011 12:31:37 +0200 Subject: [PATCH] Minor fixes connected with code convensions. --- indexer/feature.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } //@}