avoid a warning in release mode

This commit is contained in:
Sébastien Loriot 2016-09-26 09:19:49 +02:00
parent b7db87ab40
commit 27b011789c
1 changed files with 2 additions and 1 deletions

View File

@ -1114,7 +1114,8 @@ bool remove_self_intersections(TriangleMesh& tm, const int max_steps = 7, bool v
BOOST_FOREACH(halfedge_descriptor hh, halfedges_around_face(h, tm))
{
CGAL_assertion_code(bool insert_ok =)
visited.insert(hh).second;
visited.insert(hh)
CGAL_assertion_code(.second);
CGAL_assertion(insert_ok || h==hh);
}
}