avoid returning a ref to temporary object

This commit is contained in:
Jane Tournois 2015-05-26 10:10:51 +02:00 committed by Sébastien Loriot
parent 81d77803d3
commit 1de18c20a8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public:
// if blind, the constrained edge that prevents the face
// to see its circumcenter
const Edge_cdt& blinding_constraint() const
Edge_cdt blinding_constraint() const
{
CGAL_precondition(this->is_blind());
return std::make_pair(m_blinding_constraint.face,