mirror of https://github.com/CGAL/cgal
Introduced cast-to-void to avoid compiler warnings
This commit is contained in:
parent
f39ad3b38e
commit
4377bda5fe
|
|
@ -83,6 +83,8 @@ public Algebraic_structure_traits_base<Gmpfi,Field_with_kth_root_tag>{
|
||||||
struct Divides:
|
struct Divides:
|
||||||
public std::binary_function<Type,Type,Boolean>{
|
public std::binary_function<Type,Type,Boolean>{
|
||||||
Boolean operator()(const Type &d,const Type &n)const{
|
Boolean operator()(const Type &d,const Type &n)const{
|
||||||
|
// Avoid compiler warning
|
||||||
|
(void)n;
|
||||||
return !(d.is_zero());
|
return !(d.is_zero());
|
||||||
};
|
};
|
||||||
Boolean operator()(const Type &d,const Type &n,Type &c)const{
|
Boolean operator()(const Type &d,const Type &n,Type &c)const{
|
||||||
|
|
|
||||||
|
|
@ -593,6 +593,8 @@ public:
|
||||||
|
|
||||||
template< class Input_iterator >
|
template< class Input_iterator >
|
||||||
Polynomial_d operator()( Input_iterator begin, Input_iterator end, bool is_sorted) const {
|
Polynomial_d operator()( Input_iterator begin, Input_iterator end, bool is_sorted) const {
|
||||||
|
// Avoid compiler warning
|
||||||
|
(void)is_sorted;
|
||||||
if(begin == end ) return Polynomial_d(0);
|
if(begin == end ) return Polynomial_d(0);
|
||||||
Monom_rep monom_rep(begin,end);
|
Monom_rep monom_rep(begin,end);
|
||||||
// if(!is_sorted)
|
// if(!is_sorted)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue