mirror of https://github.com/CGAL/cgal
silent some compiler warnings
This commit is contained in:
parent
42d9d930ac
commit
bc4ca5b218
|
|
@ -65,7 +65,7 @@ public:
|
|||
|
||||
|
||||
// Copy constructor
|
||||
Arr_algebraic_segment_traits_2 (const Self& s) { /* No state...*/}
|
||||
Arr_algebraic_segment_traits_2 (const Self& /* s */) { /* No state...*/}
|
||||
|
||||
// Assignement operator
|
||||
const Self& operator= (const Self& s)
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ public:
|
|||
|
||||
template <class SweepCurvesAdaptor_2, class Rep_>
|
||||
std::ostream& operator << (std::ostream& os,
|
||||
const Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& arc) {
|
||||
const Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& arc) {
|
||||
|
||||
os << arc.id() << "@";
|
||||
if(arc.is_degenerate())
|
||||
|
|
@ -291,7 +291,7 @@ std::ostream& operator << (std::ostream& os,
|
|||
|
||||
template <class SweepCurvesAdaptor_2, class Rep_>
|
||||
std::istream& operator >> (std::istream& is,
|
||||
Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& arc) {
|
||||
Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& /* arc */) {
|
||||
|
||||
std::cerr << "bogus >> call for generic_arc\n";
|
||||
return is;
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ public:
|
|||
|
||||
template <class SweepCurvesAdaptor_2, class Rep_>
|
||||
std::ostream& operator << (std::ostream& os,
|
||||
const Generic_point_2<SweepCurvesAdaptor_2, Rep_>& pt) {
|
||||
const Generic_point_2<SweepCurvesAdaptor_2, Rep_>& pt) {
|
||||
|
||||
os << pt.id() << "@";
|
||||
if(pt.is_finite())
|
||||
|
|
@ -213,7 +213,7 @@ std::ostream& operator << (std::ostream& os,
|
|||
|
||||
template <class SweepCurvesAdaptor_2, class Rep_>
|
||||
std::istream& operator >> (std::istream& is,
|
||||
Generic_point_2<SweepCurvesAdaptor_2, Rep_>& pt) {
|
||||
Generic_point_2<SweepCurvesAdaptor_2, Rep_>& /* pt */) {
|
||||
|
||||
std::cerr << "bogus >> call for generic_point\n";
|
||||
return is;
|
||||
|
|
|
|||
|
|
@ -593,8 +593,9 @@ public:
|
|||
* lexicographic order of endpoints is ensured automatically, hence no
|
||||
* special handling is required
|
||||
*/
|
||||
result_type operator()(const Arc_2& cv, const Point_2& p,
|
||||
const Point_2& q) const {
|
||||
result_type operator()(const Arc_2& cv,
|
||||
const Point_2& /* p */,
|
||||
const Point_2& /* q */) const {
|
||||
SCA_CERR("\n\nWARNING!! New_endpoints_opposite_2: cv: " << cv <<
|
||||
"\n p: " << p << "\n q: " << q << std::endl);
|
||||
CGAL_error_msg("New_endpoints_opposite_2 deprecated and must not be \
|
||||
|
|
|
|||
Loading…
Reference in New Issue