freebsd-ports/databases/sfcgal/files/patch-src-detail-GeometrySet.cpp
Dmitry Marakasov 69b49c55cf - Update to 1.1.0
PR:		202597
Submitted by:	coder@tuxfamily.org (maintainer)
2015-08-27 09:01:50 +00:00

15 lines
737 B
C++

--- src/detail/GeometrySet.cpp.orig 2015-01-14 13:59:05 UTC
+++ src/detail/GeometrySet.cpp
@@ -557,10 +557,10 @@ void recompose_points( const typename Ge
// compare less than
struct ComparePoints {
- bool operator()( const CGAL::Point_2<Kernel>& lhs, const CGAL::Point_2<Kernel>& rhs ) {
+ bool operator()( const CGAL::Point_2<Kernel>& lhs, const CGAL::Point_2<Kernel>& rhs ) const {
return lhs.x() < rhs.x() || lhs.y() < rhs.y();
}
- bool operator()( const CGAL::Point_3<Kernel>& lhs, const CGAL::Point_3<Kernel>& rhs ) {
+ bool operator()( const CGAL::Point_3<Kernel>& lhs, const CGAL::Point_3<Kernel>& rhs ) const {
return lhs.x() < rhs.x() || lhs.y() < rhs.y() || lhs.z() < rhs.z();
}
};