diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h index fec3cccb1bf..1953473f4de 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h @@ -58,11 +58,11 @@ namespace Boolean_set_operation_2_internal struct NoValidationPolicy { /*! is_valid - Checks if a Traits::Polygon_2 OR - Traits::Polygon_with_holes_2 are valid. - In this validation policy we do NOT do anything. - */ + * Traits::Polygon_with_holes_2 are valid. + * In this validation policy we do NOT do anything. + */ template - inline static void is_valid(const Polygon&, Traits&) {}; + inline static void is_valid(const Polygon&, Traits&) {} }; } @@ -1101,14 +1101,15 @@ protected: } bool _is_plane(const Polygon_with_holes_2& pgn) const - { + { //typedef typename Traits_2::Is_unbounded Is_unbounded; - bool unbounded = m_traits->construct_is_unbounded_object()(pgn); + bool unbounded = m_traits->construct_is_unbounded_object()(pgn); std::pair pair = - m_traits->construct_holes_object()(pgn); + m_traits->construct_holes_object()(pgn); return (unbounded && (pair.first == pair.second)); - //used to return (pgn.is_unbounded() && (pgn.holes_begin() == pgn.holes_end())) + //used to return + // (pgn.is_unbounded() && (pgn.holes_begin() == pgn.holes_end())) } void _intersection(const Aos_2& arr)