use CGAL_assert and assertion_code

(cherry picked from commit dcbab4e0d4)
This commit is contained in:
Andreas Fabri 2015-08-20 22:28:49 +02:00 committed by Laurent Rineau
parent 667f7108cf
commit 941f73f3c0
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ public:
++circ;
if(circ == wh){
typename PCT::Edge e;
bool b = pct.is_edge(uh,wh,e.first,e.second);
assert(b);
CGAL_assertion_code( bool b = ) pct.is_edge(uh,wh,e.first,e.second);
CGAL_assertion(b);
return ! pct.is_constrained(e);
}
while(circ != wh){