mirror of https://github.com/CGAL/cgal
avoid returning a ref to temporary object
This commit is contained in:
parent
81d77803d3
commit
1de18c20a8
|
|
@ -101,7 +101,7 @@ public:
|
||||||
|
|
||||||
// if blind, the constrained edge that prevents the face
|
// if blind, the constrained edge that prevents the face
|
||||||
// to see its circumcenter
|
// to see its circumcenter
|
||||||
const Edge_cdt& blinding_constraint() const
|
Edge_cdt blinding_constraint() const
|
||||||
{
|
{
|
||||||
CGAL_precondition(this->is_blind());
|
CGAL_precondition(this->is_blind());
|
||||||
return std::make_pair(m_blinding_constraint.face,
|
return std::make_pair(m_blinding_constraint.face,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue