mirror of https://github.com/CGAL/cgal
In case of Epeck the source of a segment is not a reference
This commit is contained in:
parent
3f3691a48e
commit
23e56a8e3e
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue