From 27e5db14b3f1280f0d6cd5fcef96c071d3e3daf4 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Mon, 8 Mar 2021 18:49:55 +0200 Subject: [PATCH] ed missing return type --- Boolean_set_operations_2/include/CGAL/Gps_traits_2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Boolean_set_operations_2/include/CGAL/Gps_traits_2.h b/Boolean_set_operations_2/include/CGAL/Gps_traits_2.h index b5cd1e14358..25158f34d22 100644 --- a/Boolean_set_operations_2/include/CGAL/Gps_traits_2.h +++ b/Boolean_set_operations_2/include/CGAL/Gps_traits_2.h @@ -202,7 +202,7 @@ public: { return m_traits.equal_2_object()(cv1, cv2); } //! Compare two general polygons - operator()(const General_polygon_2& pgn1, const General_polygon_2& pgn2) + bool operator()(const General_polygon_2& pgn1, const General_polygon_2& pgn2) const { if (pgn1.size() != pgn2.size()) return false; @@ -224,8 +224,8 @@ public: } //! Compare two general polygons - operator()(const General_polygon_with_holes_2& pgn1, - const General_polygon_with_holes_2& pgn2) const { + bool operator()(const General_polygon_with_holes_2& pgn1, + const General_polygon_with_holes_2& pgn2) const { if (! operator()(pgn1.outer_boundary(), pgn2.outer_boundary())) return false;