diff --git a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_2_iterators.h b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_2_iterators.h index 219c445bdc1..042b3c66f79 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_2_iterators.h +++ b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_2_iterators.h @@ -290,7 +290,7 @@ public: template I_Filtered_iterator (T* p) : - nt (pointer(p)), + nt (reinterpret_cast(p)), iend (nt) {} @@ -314,7 +314,7 @@ public: template I_Filtered_iterator& operator= (const P* p) { - nt = pointer(p); + nt = reinterpret_cast(p); iend =nt; return *this; } @@ -455,7 +455,7 @@ public: template I_Filtered_const_iterator (T* p) : - nt (pointer(p)), + nt (reinterpret_cast(p)), iend (nt) {} @@ -488,7 +488,7 @@ public: template I_Filtered_const_iterator& operator= (const P* p) { - nt = pointer(p); + nt = reinterpret_cast(p); iend =nt; return *this; }