diff --git a/Kernel_d/include/CGAL/Kernel_d/Iso_box_d.h b/Kernel_d/include/CGAL/Kernel_d/Iso_box_d.h index 4a6fe9e06fd..687a09a593b 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Iso_box_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Iso_box_d.h @@ -392,7 +392,7 @@ public: template < typename Kernel > inline bool -operator==(const Iso_box_d& b1, Iso_box_d& b2) +operator==(const Iso_box_d& b1, const Iso_box_d& b2) { CGAL_precondition(b1.dimension() == b2.dimension()); return (b1.min)() == (b2.min)() && (b1.max)() == (b2.max)(); @@ -400,7 +400,7 @@ operator==(const Iso_box_d& b1, Iso_box_d& b2) template < typename Kernel > inline bool -operator!=(const Iso_box_d& b1, Iso_box_d& b2) +operator!=(const Iso_box_d& b1, const Iso_box_d& b2) { return ! (b1 == b2); }