From efd30df215e0cd8649aec4a15b9842bd4ae8a260 Mon Sep 17 00:00:00 2001 From: Sebastien Loriot Date: Thu, 15 Sep 2016 15:49:02 +0200 Subject: [PATCH] add missing const --- STL_Extension/include/CGAL/In_place_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STL_Extension/include/CGAL/In_place_list.h b/STL_Extension/include/CGAL/In_place_list.h index b0fc2a8b87a7..b89ac65bdf86 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); }