ed missing return type

This commit is contained in:
Efi Fogel 2021-03-08 18:49:55 +02:00
parent 2cd13748c1
commit 27e5db14b3
1 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ public:
{ return m_traits.equal_2_object()(cv1, cv2); } { return m_traits.equal_2_object()(cv1, cv2); }
//! Compare two general polygons //! 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 const
{ {
if (pgn1.size() != pgn2.size()) return false; if (pgn1.size() != pgn2.size()) return false;
@ -224,8 +224,8 @@ public:
} }
//! Compare two general polygons //! Compare two general polygons
operator()(const General_polygon_with_holes_2& pgn1, bool operator()(const General_polygon_with_holes_2& pgn1,
const General_polygon_with_holes_2& pgn2) const { const General_polygon_with_holes_2& pgn2) const {
if (! operator()(pgn1.outer_boundary(), pgn2.outer_boundary())) if (! operator()(pgn1.outer_boundary(), pgn2.outer_boundary()))
return false; return false;