Skip to content

Commit

Permalink
Merge pull request #1461 from sloriot/STL_Extension-In_place_list_has…
Browse files Browse the repository at this point in the history
…h_value_missing_const

Add missing const
  • Loading branch information
lrineau authored Sep 16, 2016
2 parents 3176b37 + efd30df commit a19f1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STL_Extension/include/CGAL/In_place_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ template <class T, class Alloc>
template <class T, class Alloc>
std::size_t hash_value(const In_place_list_const_iterator<T,Alloc>& i)
{
T* ptr = &*i;
const T* ptr = &*i;
return reinterpret_cast<std::size_t>(ptr)/ sizeof(T);
}

Expand Down

0 comments on commit a19f1fb

Please sign in to comment.