conversion warning

This commit is contained in:
Andreas Fabri 2024-03-05 07:16:44 +00:00
parent 7edadee3c2
commit 181cec68f4
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ public:
// Create polygons with holes and put in multipolygon
std::set<Polygon_with_holes_2<Kernel, Container>, Polygon_with_holes_less> ordered_polygons;
for (int i = 0; i < polygons.size(); ++i) {
for (std::size_t i = 0; i < polygons.size(); ++i) {
ordered_polygons.insert(Polygon_with_holes_2<Kernel, Container>(polygons[i], holes[i].begin(), holes[i].end()));
}
for (auto const& polygon: ordered_polygons) {