Fix warnings (unused local typedef)

This commit is contained in:
Laurent Rineau 2014-03-26 16:05:15 +01:00
parent 969b51a78c
commit afc7b8f777
3 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,7 @@ void test_routine() {
typedef Integer Coefficient;
typedef typename
CGAL::Polynomial_type_generator<Coefficient,1>::Type Poly_1;
CGAL_USE_TYPE(Poly_1);
typedef typename
CGAL::Polynomial_type_generator<Coefficient,2>::Type Poly_2;
@ -73,6 +74,7 @@ void test_routine() {
Algebraic_kernel_d_1;
typedef typename Algebraic_kernel_d_1::Algebraic_real_1 Algebraic_real;
CGAL_USE_TYPE(Algebraic_real);
#if CGAL_ACK_USE_EXACUS
typedef AcX::Algebraic_curve_2<Algebraic_kernel_d_1> Algebraic_curve_2;

View File

@ -94,6 +94,8 @@ void test_algebraic_curve_kernel_2() {
typedef typename AK_2::Coordinate_1 Coordinate_1;
typedef typename AK_2::Coordinate_2 Coordinate_2;
CGAL_USE_TYPE(Coordinate_1);
CGAL_USE_TYPE(Coordinate_2);
Poly_2 polys[ACK_2_n_polys];

View File

@ -60,6 +60,7 @@ void test_algebraic_kernel_1(const AlgebraicKernel_d_1& ak_1){
typedef Algebraic_structure_traits<Coefficient> CAST;
typedef typename CAST::Is_exact Is_exact;
typedef typename CAST::Algebraic_category Algebraic_category;
CGAL_USE_TYPE(Algebraic_category);
test_ak_polynomial_traits_d<Is_exact,PT>()(PT());
// test not possible due to bug in test_algebraic_structure