Skip to content

Commit 23e56a8

Browse files
afabriMaelRL
authored andcommitted
In case of Epeck the source of a segment is not a reference
1 parent 3f3691a commit 23e56a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,11 +632,11 @@ class Segment_Delaunay_graph_2
632632
}
633633

634634
template <class Segment_2>
635-
static const Point_2& get_source(const Segment_2& segment){
635+
static Point_2 get_source(const Segment_2& segment){
636636
return segment.source();
637637
}
638638
template <class Segment_2>
639-
static const Point_2& get_target(const Segment_2& segment){
639+
static Point_2 get_target(const Segment_2& segment){
640640
return segment.target();
641641
}
642642

0 commit comments

Comments
 (0)