mirror of https://github.com/CGAL/cgal
Merge pull request #1576 from afabri/Algebraic_kernel_d_use_use-GF
CGAL_USE_TYPE() to avoid warnings
This commit is contained in:
commit
b5d0ebc25c
|
|
@ -116,6 +116,8 @@ void test_algebraic_kernel_1(const AlgebraicKernel_d_1& ak_1){
|
||||||
{ \
|
{ \
|
||||||
typedef typename Name::argument_type AT_; \
|
typedef typename Name::argument_type AT_; \
|
||||||
typedef typename Name::result_type RT_; \
|
typedef typename Name::result_type RT_; \
|
||||||
|
CGAL_USE_TYPE(AT_); \
|
||||||
|
CGAL_USE_TYPE(RT_); \
|
||||||
{CGAL_static_assertion(( ::boost::is_same<AT,AT_>::value));} \
|
{CGAL_static_assertion(( ::boost::is_same<AT,AT_>::value));} \
|
||||||
{CGAL_static_assertion(( ::boost::is_same<RT,RT_>::value));} \
|
{CGAL_static_assertion(( ::boost::is_same<RT,RT_>::value));} \
|
||||||
}
|
}
|
||||||
|
|
@ -124,6 +126,9 @@ void test_algebraic_kernel_1(const AlgebraicKernel_d_1& ak_1){
|
||||||
typedef typename Name::first_argument_type AT1_; \
|
typedef typename Name::first_argument_type AT1_; \
|
||||||
typedef typename Name::second_argument_type AT2_; \
|
typedef typename Name::second_argument_type AT2_; \
|
||||||
typedef typename Name::result_type RT_; \
|
typedef typename Name::result_type RT_; \
|
||||||
|
CGAL_USE_TYPE(AT1_); \
|
||||||
|
CGAL_USE_TYPE(AT2_); \
|
||||||
|
CGAL_USE_TYPE(RT_); \
|
||||||
{CGAL_static_assertion(( ::boost::is_same<AT1,AT1_>::value));} \
|
{CGAL_static_assertion(( ::boost::is_same<AT1,AT1_>::value));} \
|
||||||
{CGAL_static_assertion(( ::boost::is_same<AT2,AT2_>::value));} \
|
{CGAL_static_assertion(( ::boost::is_same<AT2,AT2_>::value));} \
|
||||||
{CGAL_static_assertion(( ::boost::is_same<RT,RT_>::value));} \
|
{CGAL_static_assertion(( ::boost::is_same<RT,RT_>::value));} \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue