pedantic : use const quialifier where appropriate
This commit is contained in:
parent
ed8bfcabe4
commit
526e03d8c1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue