Skip to content

Commit

Permalink
fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Nov 8, 2024
1 parent 64bc98d commit eddf0b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Polygon_repair/include/CGAL/Polygon_repair/repair.h
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ join(const Multipolygon_with_holes_2<Kernel,Container>& pa)
}
};

CGAL::Polygon_repair::Boolean<Kernel> bops;
CGAL::Polygon_repair::Boolean<Kernel, Container> bops;
bops.insert(pa);
bops.mark_domains();
Larger_than_zero ltz;
Expand All @@ -826,7 +826,7 @@ decltype(auto)
join(const PA& pa, const PB& pb, const Kernel& = Default(), const Container& = Default())
{
typedef typename Default::Get<Kernel, typename PA::Traits>::type Traits;
typedef typename Default::Get<Container, typename PA::Container>::type Container;
typedef typename Default::Get<Container, typename PA::Container>::type Container_;

struct Larger_than_zero {
bool operator()(int i) const
Expand All @@ -835,7 +835,7 @@ join(const PA& pa, const PB& pb, const Kernel& = Default(), const Container& = D
}
};

CGAL::Polygon_repair::Boolean<Traits,Container> bops;
CGAL::Polygon_repair::Boolean<Traits,Container_> bops;
bops.insert(pa);
bops.insert(pb);
bops.mark_domains();
Expand Down Expand Up @@ -889,7 +889,7 @@ decltype(auto)
intersect(const PA& pa, const PB& pb, const Kernel& = Default(), const Container& = Default())
{
typedef typename Default::Get<Kernel, typename PA::Traits>::type Traits;
typedef typename Default::Get<Container, typename PA::Container>::type Container;
typedef typename Default::Get<Container, typename PA::Container>::type Container_;

struct Equal {
bool operator()(int i) const
Expand All @@ -898,7 +898,7 @@ intersect(const PA& pa, const PB& pb, const Kernel& = Default(), const Container
}
};

CGAL::Polygon_repair::Boolean<Traits,Container> bops;
CGAL::Polygon_repair::Boolean<Traits,Container_> bops;
bops.insert(pa);
bops.insert(pb);
bops.mark_domains();
Expand Down

0 comments on commit eddf0b6

Please sign in to comment.