From 00a7b64e8980be9441f166757b3eaa39bff2f6be Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Sun, 12 Dec 2010 21:32:16 +0000 Subject: [PATCH] Declare the operator const --- STL_Extension/include/CGAL/function_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;