diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map.h b/Combinatorial_map/include/CGAL/Combinatorial_map.h index 46a60735856..baf0eb3e9c0 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map.h @@ -2177,7 +2177,7 @@ namespace CGAL { decrease_attribute_ref_counting(adart); - adart->set_attribute(ah); + adart->template set_attribute(ah); ah->set_dart(adart); } @@ -2199,7 +2199,7 @@ namespace CGAL { if ( it->template attribute()!=ah ) { decrease_attribute_ref_counting(it); - it->set_attribute(ah); + it->template set_attribute(ah); } } ah->set_dart(adart);