fix msvs compiler error - closes #2560

This commit is contained in:
Dane Springmeyer 2014-11-04 17:50:43 -05:00
parent 5cd2cd629f
commit bff4465976

View file

@ -45,7 +45,7 @@ struct weighted_vertex : private mapnik::noncopyable
struct ascending_sort
{
bool operator() (const weighted_vertex *a, const weighted_vertex *b)
bool operator() (const weighted_vertex *a, const weighted_vertex *b) const
{
return b->weight > a->weight;
}