+ qualify wit std::
This commit is contained in:
parent
e7d9db9735
commit
a5557d2b98
1 changed files with 2 additions and 1 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue