In case of Epeck the source of a segment is not a reference

This commit is contained in:
Andreas Fabri 2024-01-11 08:43:48 +00:00 committed by Mael Rouxel-Labbé
parent 3f3691a48e
commit 23e56a8e3e
1 changed files with 2 additions and 2 deletions

View File

@ -632,11 +632,11 @@ public:
}
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();
}