From 7a35fbe6fb9d7baeed51671901dfdc3bdcb30264 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Fri, 22 May 2020 12:28:46 +0200 Subject: [PATCH] Drop useless template parameter --- Number_types/include/CGAL/Quotient.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();