diff --git a/STL_Extension/include/CGAL/utility.h b/STL_Extension/include/CGAL/utility.h index 6a766e8300c..0fc00ef42e9 100644 --- a/STL_Extension/include/CGAL/utility.h +++ b/STL_Extension/include/CGAL/utility.h @@ -85,9 +85,7 @@ template inline bool operator!=(const Triple& x, const Triple& y) { - return ( (x.first != y.first) || - (x.second != y.second) || - (x.third != y.third) ); + return !(x == y); } template @@ -164,10 +162,7 @@ bool operator!=(const Quadruple& x, const Quadruple& y) { - return ( (x.first == y.first) && - (x.second == y.second) && - (x.third == y.third) && - (x.fourth == y.fourth) ); + return ! (x == y); } template