From a5557d2b982add54542ee370b6e882182a0b6e20 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 18 Jun 2010 15:38:52 +0000 Subject: [PATCH] + qualify wit std:: --- include/mapnik/hextree.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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--;