mirror of https://github.com/CGAL/cgal
Declare the operator const
This commit is contained in:
parent
de2413466a
commit
00a7b64e89
|
|
@ -511,7 +511,7 @@ struct Pair_lexicographical_less_than {
|
||||||
* returns \c true iff \c x is lexicograhically smaller than \c y
|
* returns \c true iff \c x is lexicograhically smaller than \c y
|
||||||
* using \c Less1 and \c Less2 functors.
|
* using \c Less1 and \c Less2 functors.
|
||||||
*/
|
*/
|
||||||
bool operator () (const std::pair<T1,T2>& x, const std::pair<T1,T2>& y) {
|
bool operator () (const std::pair<T1,T2>& x, const std::pair<T1,T2>& y) const {
|
||||||
Less1 lt1;
|
Less1 lt1;
|
||||||
Less2 lt2;
|
Less2 lt2;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue