From 0acdb162fa4f335e3c48a540400491d92b8bd29c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 30 Jan 2013 18:39:40 +0100 Subject: [PATCH] one less warning in Envelope_3, Intersection_3, Interpolation --- .../include/CGAL/Envelope_3/Env_plane_traits_3_functions.h | 1 - Interpolation/include/CGAL/natural_neighbor_coordinates_2.h | 1 - Interpolation/include/CGAL/surface_neighbors_3.h | 1 - .../test/Intersections_3/bbox_other_do_intersect_test.cpp | 1 - Intersections_3/test/Intersections_3/segment_segment.cpp | 1 - 5 files changed, 5 deletions(-) diff --git a/Envelope_3/include/CGAL/Envelope_3/Env_plane_traits_3_functions.h b/Envelope_3/include/CGAL/Envelope_3/Env_plane_traits_3_functions.h index af4bbce85d0..9f5e4a35cae 100644 --- a/Envelope_3/include/CGAL/Envelope_3/Env_plane_traits_3_functions.h +++ b/Envelope_3/include/CGAL/Envelope_3/Env_plane_traits_3_functions.h @@ -152,7 +152,6 @@ Object ray_under_linear_constraint(const typename K::Ray_2& ray, const typename K::Line_2& l, const K& k) { - typedef typename K::Ray_2 Ray_2; typedef typename K::Vector_2 Vector_2; typedef typename K::Point_2 Point_2; diff --git a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h index d5480fb0379..f8db56701cc 100644 --- a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h +++ b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h @@ -179,7 +179,6 @@ natural_neighbor_coordinates_vertex_2(const Dt& dt, typedef typename Traits::Point_2 Point_2; typedef typename Dt::Vertex_handle Vertex_handle; - typedef typename Dt::Face_handle Face_handle; typedef typename Dt::Face_circulator Face_circulator; diff --git a/Interpolation/include/CGAL/surface_neighbors_3.h b/Interpolation/include/CGAL/surface_neighbors_3.h index a73e5cb17d6..e582235e15c 100644 --- a/Interpolation/include/CGAL/surface_neighbors_3.h +++ b/Interpolation/include/CGAL/surface_neighbors_3.h @@ -215,7 +215,6 @@ surface_neighbors_3(const Dt& dt, typename Dt::Cell_handle start = typename Dt::Cell_handle()) { - typedef typename ITraits::FT Coord_type; typedef typename ITraits::Point_2 Point_3; typedef typename Dt::Cell_handle Cell_handle; diff --git a/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp b/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp index 35557916a07..64e2042b7fd 100644 --- a/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp +++ b/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp @@ -272,7 +272,6 @@ void speed(const std::string& name) { // types typedef typename CGAL::Kernel_traits::Kernel K; - typedef typename K::FT FT; typedef typename K::Point_3 Point; // speed diff --git a/Intersections_3/test/Intersections_3/segment_segment.cpp b/Intersections_3/test/Intersections_3/segment_segment.cpp index fecf2b873f1..9e1581793c3 100644 --- a/Intersections_3/test/Intersections_3/segment_segment.cpp +++ b/Intersections_3/test/Intersections_3/segment_segment.cpp @@ -93,7 +93,6 @@ void all_cases_collinear(typename K::Point_3 pts[4]){ template void _test_intersection_construct(K) { - typedef typename K::FT FT; typedef typename K::Point_3 Point_3; typedef typename K::Segment_3 Segment_3;