From bd6cbe7b43bc89340ae96ad61372e440a6dbdb3f Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Tue, 2 Mar 2010 14:13:11 +0000 Subject: [PATCH] cleanup --- .../include/CGAL/General_polygon_set_2.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Boolean_set_operations_2/include/CGAL/General_polygon_set_2.h b/Boolean_set_operations_2/include/CGAL/General_polygon_set_2.h index d1d09503baa..5b6c6515a17 100644 --- a/Boolean_set_operations_2/include/CGAL/General_polygon_set_2.h +++ b/Boolean_set_operations_2/include/CGAL/General_polygon_set_2.h @@ -33,10 +33,10 @@ CGAL_BEGIN_NAMESPACE // General_polygon_set_2 template > class General_polygon_set_2 : public General_polygon_set_on_surface_2 - ::Traits> + ::Traits> { protected: - typedef General_polygon_set_2< Traits_, Dcel_ > Self; + typedef General_polygon_set_2 Self; public: typedef Traits_ Traits_2; @@ -60,8 +60,7 @@ public: General_polygon_set_2(Traits_2& tr) : Base(tr) {} - explicit General_polygon_set_2(const Polygon_2& pgn) : - Base(pgn) + explicit General_polygon_set_2(const Polygon_2& pgn) : Base(pgn) { } explicit General_polygon_set_2(const Polygon_with_holes_2& pgn_with_holes): @@ -86,14 +85,13 @@ public: inline void join(const Self& ps1, const Self& ps2) { - Base::join(static_cast(ps1), - static_cast(ps2)); + Base::join(static_cast(ps1), static_cast(ps2)); } inline void symmetric_difference(const Self& ps1, const Self& ps2) { Base::symmetric_difference(static_cast(ps1), - static_cast(ps2)); + static_cast(ps2)); } //@{