diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map_basic_operations.h b/Combinatorial_map/include/CGAL/Combinatorial_map_basic_operations.h index 3eb9f586569..8dfcf60debd 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map_basic_operations.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map_basic_operations.h @@ -265,8 +265,8 @@ namespace CGAL * @return the degree of the cell. */ template < class Map, unsigned int i > - typename Map::size_type degree( const Map & amap, - typename Map::Dart_const_handle adart ) + typename Map::size_type degree(const Map & amap, + typename Map::Dart_const_handle adart) { CGAL_assertion(adart != NULL); @@ -280,20 +280,20 @@ namespace CGAL Dart_of_cell_basic_range::const_iterator it(amap, adart, mark); for ( ;it.cont(); ++it ) { - if (!amap.is_marked(*it, treated)) + if (!amap.is_marked(it, treated)) { ++nbIncident; - CGAL::mark_cell(amap, *it, treated); + CGAL::mark_cell(amap, it, treated); } - amap.mark(*it,mark); + amap.mark(it,mark); } amap.negate_mark(mark); for (it.rewind(); it.cont(); ++it) { - if (amap.is_marked(*it, treated)) - CGAL::unmark_cell(amap, *it, treated); - amap.mark(*it,mark); + if (amap.is_marked(it, treated)) + { CGAL::unmark_cell(amap, it, treated); } + amap.mark(it,mark); } amap.negate_mark(mark); @@ -329,20 +329,20 @@ namespace CGAL Dart_of_cell_basic_range::const_iterator it(amap, adart, mark); for ( ; it.cont(); ++it) { - if (!amap.is_marked(*it, treated)) + if (!amap.is_marked(it, treated)) { ++nbIncident; - CGAL::mark_cell(amap, *it, treated); + CGAL::mark_cell(amap, it, treated); } - amap.mark(*it,mark); + amap.mark(it,mark); } amap.negate_mark(mark); for (it.rewind(); it.cont(); ++it) { - if (amap.is_marked(*it, treated)) - CGAL::unmark_cell(amap, *it, treated); - amap.mark(*it,mark); + if (amap.is_marked(it, treated)) + { CGAL::unmark_cell(amap, it, treated); } + amap.mark(it,mark); } amap.negate_mark(mark);