diff --git a/Number_types/include/CGAL/Quotient.h b/Number_types/include/CGAL/Quotient.h index 41e9423d9b7..56c17c1515f 100644 --- a/Number_types/include/CGAL/Quotient.h +++ b/Number_types/include/CGAL/Quotient.h @@ -129,13 +129,13 @@ class Quotient Quotient& operator*= (const CGAL_double(NT)& r); Quotient& operator/= (const CGAL_double(NT)& r); - friend bool operator==(const Quotient& x, const Quotient& y) + friend bool operator==(const Quotient& x, const Quotient& y) { return x.num * y.den == x.den * y.num; } - friend bool operator==(const Quotient& x, const NT& y) + friend bool operator==(const Quotient& x, const NT& y) { return x.den * y == x.num; } - friend inline bool operator==(const Quotient& x, const CGAL_int(NT) & y) + friend inline bool operator==(const Quotient& x, const CGAL_int(NT) & y) { return x.den * y == x.num; } - friend inline bool operator==(const Quotient& x, const CGAL_double(NT) & y) + friend inline bool operator==(const Quotient& x, const CGAL_double(NT) & y) { return x.den * y == x.num; } // Uh? Quotient& normalize();