diff --git a/STL_Extension/include/CGAL/In_place_list.h b/STL_Extension/include/CGAL/In_place_list.h index b0fc2a8b87a..b89ac65bdf8 100644 --- a/STL_Extension/include/CGAL/In_place_list.h +++ b/STL_Extension/include/CGAL/In_place_list.h @@ -185,7 +185,7 @@ template template std::size_t hash_value(const In_place_list_const_iterator& i) { - T* ptr = &*i; + const T* ptr = &*i; return reinterpret_cast(ptr)/ sizeof(T); }