From 27812333bfc5a94eae0bb296818f8f101fdd442f Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 6 Feb 2013 15:53:02 +0100 Subject: [PATCH] more CGAL_USE_TYPE --- .../Triangulation_3/include/CGAL/_test_cls_tds_3.h | 7 +++++++ .../include/CGAL/_test_cls_triangulation_3.h | 6 ++++++ .../include/CGAL/_test_cls_triangulation_simplex_3.h | 10 ++++++++++ 3 files changed, 23 insertions(+) diff --git a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_tds_3.h b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_tds_3.h index 014b1b8a4b2..05ff2cb3700 100644 --- a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_tds_3.h +++ b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_tds_3.h @@ -28,6 +28,7 @@ #include #include +#include template void @@ -48,6 +49,10 @@ _test_cls_tds_3( const Tds &) typedef typename Tds::Cell_handle Cell_handle; typedef typename Tds::Cell_iterator Cell_iterator; + CGAL_USE_TYPE(Facet); + CGAL_USE_TYPE(Facet_iterator); + CGAL_USE_TYPE(Edge_iterator); + // test rebinds : typedef CGAL::Triangulation_cell_base_with_info_3 New_cell_base; // I can't rebind the vertex that easily as the with_info needs a Point... :( @@ -57,6 +62,8 @@ _test_cls_tds_3( const Tds &) typedef typename Tds::template Rebind_vertex::Other New_TDS_1; typedef typename New_TDS_1::template Rebind_cell::Other New_TDS; + CGAL_USE_TYPE(New_TDS); + // test Vertex and cell : std::cout << " Test Vertex " << std::endl; _test_vertex_tds_3(Vertex()); diff --git a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h index 515964a4e9c..2b7e089767a 100644 --- a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h +++ b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h @@ -29,6 +29,7 @@ #include #include +#include template bool check_all_are_finite(Triangulation* tr, const Container& cont) @@ -115,6 +116,11 @@ _test_cls_triangulation_3(const Triangulation &) typedef typename Cls::Finite_facets_iterator Finite_facets_iterator; typedef typename Cls::Finite_cells_iterator Finite_cells_iterator; + CGAL_USE_TYPE(Vertex); + CGAL_USE_TYPE(Cell); + CGAL_USE_TYPE(difference_type); + CGAL_USE_TYPE(Vertex_iterator); + CGAL_USE_TYPE(Cell_iterator); // +++ We define now some points for building triangulations +++++// diff --git a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_simplex_3.h b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_simplex_3.h index e44ad48351b..1516d700fe6 100644 --- a/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_simplex_3.h +++ b/Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_simplex_3.h @@ -20,6 +20,7 @@ #include #include +#include template void @@ -55,6 +56,15 @@ _test_cls_triangulation_simplex_3(const Triangulation &) typedef typename Cls::Finite_facets_iterator Finite_facets_iterator; typedef typename Cls::Finite_cells_iterator Finite_cells_iterator; + CGAL_USE_TYPE(Cell); + CGAL_USE_TYPE(size_type); + CGAL_USE_TYPE(difference_type); + CGAL_USE_TYPE(Cell_circulator); + CGAL_USE_TYPE(Facet_circulator); + CGAL_USE_TYPE(Cell_iterator); + CGAL_USE_TYPE(Facet_iterator); + CGAL_USE_TYPE(Edge_iterator); + CGAL_USE_TYPE(Vertex_iterator); //######################################################################## Cls t;