From ec055e953be82c718722b3566e07b1d6ee75da44 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Sat, 14 Apr 2007 17:58:29 +0000 Subject: [PATCH] Triple had an operator==. The operator!= was missing. --- STL_Extension/include/CGAL/utility.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/STL_Extension/include/CGAL/utility.h b/STL_Extension/include/CGAL/utility.h index b8fb3a0aaca..19860742748 100644 --- a/STL_Extension/include/CGAL/utility.h +++ b/STL_Extension/include/CGAL/utility.h @@ -81,6 +81,15 @@ inline bool operator==(const Triple& x, (x.third == y.third) ); } +template +inline bool operator!=(const Triple& x, + const Triple& y) +{ + return ( (x.first != y.first) || + (x.second != y.second) || + (x.third != y.third) ); +} + template inline bool operator<(const Triple& x,