+ use pre-increment op

This commit is contained in:
artemp 2012-07-26 11:58:48 +01:00
parent 690b56a511
commit 4ddddba254

View file

@ -188,7 +188,7 @@ void shape_io::read_polygon(mapnik::geometry_container & geom)
parts[i] = record.read_ndr_integer();
}
for (int k = 0; k < num_parts; k++)
for (int k = 0; k < num_parts; ++k)
{
std::auto_ptr<geometry_type> poly(new geometry_type(mapnik::Polygon));
int start = parts[k];