Skip to content

Commit

Permalink
remove shrink_to_fix - refs mapnik/mapnik#2984
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jul 17, 2015
1 parent 929ad72 commit 1c42332
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vector_tile_strategy.hpp
Expand Up @@ -131,7 +131,6 @@ struct transform_visitor {
}
}
if (new_geom.empty()) return mapnik::geometry::geometry_empty();
new_geom.shrink_to_fit();
return new_geom;
}

Expand Down Expand Up @@ -176,7 +175,6 @@ struct transform_visitor {
new_geom.push_back(std::move(new_line));
}
if (new_geom.empty()) return mapnik::geometry::geometry_empty();
new_geom.shrink_to_fit();
return new_geom;
}

Expand Down Expand Up @@ -262,7 +260,6 @@ struct transform_visitor {
new_geom.push_back(std::move(new_poly));
}
if (new_geom.empty()) return mapnik::geometry::geometry_empty();
new_geom.shrink_to_fit();
return new_geom;
}

Expand Down

0 comments on commit 1c42332

Please sign in to comment.