From 7a6aa1e537885c35cddfb3175b671203bee1a0e2 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 14 Jul 2010 01:42:38 +0000 Subject: [PATCH] backport r1891 --- include/mapnik/hextree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/hextree.hpp b/include/mapnik/hextree.hpp index 963e7acda..064371fa6 100644 --- a/include/mapnik/hextree.hpp +++ b/include/mapnik/hextree.hpp @@ -295,7 +295,7 @@ namespace mapnik { 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--;