mirror of https://github.com/CGAL/cgal
fix warnings
This commit is contained in:
parent
5b2275b9f8
commit
3daf6f8dca
|
|
@ -477,8 +477,8 @@ public:
|
||||||
struct Gcd
|
struct Gcd
|
||||||
: public CGAL::cpp98::binary_function< Type, Type, Type > {
|
: public CGAL::cpp98::binary_function< Type, Type, Type > {
|
||||||
Type operator()(
|
Type operator()(
|
||||||
const Type& x,
|
const Type& /* x */,
|
||||||
const Type& y ) const {
|
const Type& /* y */ ) const {
|
||||||
assert(false);
|
assert(false);
|
||||||
return Type(); // cpp_float_gcd(x, y);
|
return Type(); // cpp_float_gcd(x, y);
|
||||||
}
|
}
|
||||||
|
|
@ -494,8 +494,8 @@ public:
|
||||||
struct Integral_division
|
struct Integral_division
|
||||||
: public CGAL::cpp98::binary_function< Type, Type, Type > {
|
: public CGAL::cpp98::binary_function< Type, Type, Type > {
|
||||||
Type operator()(
|
Type operator()(
|
||||||
const Type& x,
|
const Type& /* x */,
|
||||||
const Type& y ) const {
|
const Type& /* y */ ) const {
|
||||||
assert(false);
|
assert(false);
|
||||||
return Type(); // x / y;
|
return Type(); // x / y;
|
||||||
}
|
}
|
||||||
|
|
@ -503,7 +503,7 @@ public:
|
||||||
|
|
||||||
struct Sqrt
|
struct Sqrt
|
||||||
: public CGAL::cpp98::unary_function< Type, Type > {
|
: public CGAL::cpp98::unary_function< Type, Type > {
|
||||||
Type operator()( const Type& x) const {
|
Type operator()( const Type& /* x */) const {
|
||||||
assert(false);
|
assert(false);
|
||||||
return Type(); // cpp_float_sqrt(x);
|
return Type(); // cpp_float_sqrt(x);
|
||||||
}
|
}
|
||||||
|
|
@ -511,12 +511,12 @@ public:
|
||||||
|
|
||||||
struct Is_square
|
struct Is_square
|
||||||
: public CGAL::cpp98::binary_function< Type, Type&, bool > {
|
: public CGAL::cpp98::binary_function< Type, Type&, bool > {
|
||||||
bool operator()( const Type& x, Type& y ) const {
|
bool operator()( const Type& /* x */, Type& /* y */ ) const {
|
||||||
// TODO: avoid doing 2 calls.
|
// TODO: avoid doing 2 calls.
|
||||||
assert(false);
|
assert(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool operator()( const Type& x) const {
|
bool operator()( const Type& /* x */) const {
|
||||||
assert(false);
|
assert(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue