diff --git a/STL_Extension/include/CGAL/function_objects.h b/STL_Extension/include/CGAL/function_objects.h index 6af65999fc2..e52359e9736 100644 --- a/STL_Extension/include/CGAL/function_objects.h +++ b/STL_Extension/include/CGAL/function_objects.h @@ -511,7 +511,7 @@ struct Pair_lexicographical_less_than { * returns \c true iff \c x is lexicograhically smaller than \c y * using \c Less1 and \c Less2 functors. */ - bool operator () (const std::pair& x, const std::pair& y) { + bool operator () (const std::pair& x, const std::pair& y) const { Less1 lt1; Less2 lt2;