diff --git a/include/mapnik/hextree.hpp b/include/mapnik/hextree.hpp index 204a8691b..19d65c872 100644 --- a/include/mapnik/hextree.hpp +++ b/include/mapnik/hextree.hpp @@ -275,7 +275,8 @@ public: int dist, newdist; // find closest match based on mean of r,g,b,a - vector::iterator pit = std::lower_bound(sorted_pal_.begin(), sorted_pal_.end(), c, rgba_mean_sort_cmp()); + std::vector::iterator pit = + std::lower_bound(sorted_pal_.begin(), sorted_pal_.end(), c, rgba_mean_sort_cmp()); ind = pit-sorted_pal_.begin(); if (ind == sorted_pal_.size()) ind--;