+ qualify wit std::

This commit is contained in:
Artem Pavlenko 2010-06-18 15:38:52 +00:00
parent e7d9db9735
commit a5557d2b98

View file

@ -275,7 +275,8 @@ public:
int dist, newdist;
// find closest match based on mean of r,g,b,a
vector<rgba>::iterator pit = std::lower_bound(sorted_pal_.begin(), sorted_pal_.end(), c, rgba_mean_sort_cmp());
std::vector<rgba>::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--;