Skip to content

Commit

Permalink
In case of Epeck the source of a segment is not a reference
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri authored and MaelRL committed Jan 11, 2024
1 parent 3f3691a commit 23e56a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,11 @@ class Segment_Delaunay_graph_2
}

template <class Segment_2>
static const Point_2& get_source(const Segment_2& segment){
static Point_2 get_source(const Segment_2& segment){
return segment.source();
}
template <class Segment_2>
static const Point_2& get_target(const Segment_2& segment){
static Point_2 get_target(const Segment_2& segment){
return segment.target();
}

Expand Down

0 comments on commit 23e56a8

Please sign in to comment.