mirror of https://github.com/CGAL/cgal
Fix warnings (unused local typedef)
This commit is contained in:
parent
969b51a78c
commit
afc7b8f777
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue