pedantic : use const quialifier where appropriate

This commit is contained in:
artemp 2014-06-02 16:47:55 +01:00
parent ed8bfcabe4
commit 526e03d8c1

View file

@ -395,7 +395,7 @@ bool centroid_geoms(Iter start, Iter end, double & x, double & y)
while (start!=end)
{
typename Iter::value_type & path = *start++;
typename Iter::value_type const& path = *start++;
path.rewind(0);
unsigned command = path.vertex(&x0, &y0);
if (command == SEG_END) continue;