diff --git a/Polygon/examples/Polygon/draw_multipolygon_with_holes.cpp b/Polygon/examples/Polygon/draw_multipolygon_with_holes.cpp index db7927c8ba5..bda77eb6323 100644 --- a/Polygon/examples/Polygon/draw_multipolygon_with_holes.cpp +++ b/Polygon/examples/Polygon/draw_multipolygon_with_holes.cpp @@ -9,7 +9,7 @@ using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel; using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2; -int main(int argc, char* argv[]) { +int main() { std::string wkt = "MULTIPOLYGON(((0 0,1 0,1 1,0 1,0 0),(0.1 0.1,0.1 0.9,0.9 0.9,0.9 0.1,0.1 0.1)),((0.2 0.2,0.8 0.2,0.8 0.8,0.2 0.8,0.2 0.2),(0.3 0.3,0.3 0.7,0.7 0.7,0.7 0.3,0.3 0.3)))"; std::istringstream iss(wkt); Multipolygon_with_holes_2 mp; diff --git a/Polygon/examples/Polygon/multipolygon.cpp b/Polygon/examples/Polygon/multipolygon.cpp index babf3def44d..31ce7d37401 100644 --- a/Polygon/examples/Polygon/multipolygon.cpp +++ b/Polygon/examples/Polygon/multipolygon.cpp @@ -7,7 +7,7 @@ using Polygon_2 = CGAL::Polygon_2; using Polygon_with_holes_2 = CGAL::Polygon_with_holes_2; using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2; -int main(int argc, char* argv[]) { +int main() { Point_2 p1_outer[] = {Point_2(0,0), Point_2(1,0), Point_2(1,1), Point_2(0,1)}; Point_2 p1_inner[] = {Point_2(0.2,0.2), Point_2(0.8,0.2), Point_2(0.8,0.8), Point_2(0.2,0.8)};