From e31df9644b56bce8eb7d7c2cb10cf8ef12e60e51 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 24 Nov 2014 15:03:07 +0100 Subject: [PATCH] fix compilation for Linux --- .../include/CGAL/Constrained_voronoi_diagram_2.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Triangulation_2/include/CGAL/Constrained_voronoi_diagram_2.h b/Triangulation_2/include/CGAL/Constrained_voronoi_diagram_2.h index b7120efa037..9ac43ec6ec8 100644 --- a/Triangulation_2/include/CGAL/Constrained_voronoi_diagram_2.h +++ b/Triangulation_2/include/CGAL/Constrained_voronoi_diagram_2.h @@ -8,7 +8,7 @@ namespace CGAL { template -class Cvd_cell +class Cvd_cell_2 { typedef typename Cdt::Vertex_handle Vertex_handle; @@ -29,14 +29,14 @@ private: bool m_is_valid; public: - Cvd_cell(Vertex_handle v) + Cvd_cell_2(Vertex_handle v) : m_vertex(v) , m_segments() , m_rays() , m_is_valid(false) { } - bool operator<(const Cvd_cell& cell) const + bool operator<(const Cvd_cell_2& cell) const { return m_vertex < cell.vertex(); }; @@ -123,19 +123,19 @@ public: } );//end CGAL_assertion_code -}; //end CLASS Cvd_cell +}; //end CLASS Cvd_cell_2 // Cdt should be of the type Constrained_Delaunay_triangulation_face_base_2 template class Constrained_voronoi_diagram_2 - : public std::list< Cvd_cell > + : public std::list< Cvd_cell_2 > { - typedef std::list< Cvd_cell > Base; + typedef std::list< Cvd_cell_2 > Base; public: - typedef Constrained_voronoi_diagram_2 Cvd; - typedef typename Cvd_cell Cvd_cell; + typedef Constrained_voronoi_diagram_2 Cvd; + typedef Cvd_cell_2 Cvd_cell; typedef typename Cvd_cell::Construction_dispatcher Construction_dispatcher; public: