From 10a07914be800bd72c7b75a1b2cd1260e0d51328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Sat, 20 Jul 2019 17:33:23 +0200 Subject: [PATCH] Fix warnings --- .../include/CGAL/Delaunay_triangulation_sphere_2.h | 8 ++++---- .../include/CGAL/Projection_sphere_traits_3.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h index 4eb89e7549c..88e0ff3502e 100644 --- a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h +++ b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h @@ -730,10 +730,10 @@ insert(const Point& p, Locate_type lt, Face_handle loc, int li) { if(test_dim_up(p)) { - Face_handle f = all_edges_begin()->first; - Vertex_handle v1 = f->vertex(0); - Vertex_handle v2 = f->vertex(1); - Vertex_handle v3 = f->neighbor(0)->vertex(1); +// Face_handle f = all_edges_begin()->first; +// Vertex_handle v1 = f->vertex(0); +// Vertex_handle v2 = f->vertex(1); +// Vertex_handle v3 = f->neighbor(0)->vertex(1); return insert_outside_affine_hull_regular(p); } else diff --git a/Triangulation_on_sphere_2/include/CGAL/Projection_sphere_traits_3.h b/Triangulation_on_sphere_2/include/CGAL/Projection_sphere_traits_3.h index ff3c8e352cb..5d022482f03 100644 --- a/Triangulation_on_sphere_2/include/CGAL/Projection_sphere_traits_3.h +++ b/Triangulation_on_sphere_2/include/CGAL/Projection_sphere_traits_3.h @@ -155,7 +155,7 @@ public: double _radius; typedef Projection_sphere_traits_3 Self; typedef Delaunay_triangulation_sphere_traits_2 Base; - typedef typename Projected_point::Projected_point Point_2; + typedef Projected_point Point_2; typedef typename R::Point_3 Base_point; typedef Point_2 result_type;