From 39ab3e6e3a7fdf02f194927f5c1d7669fc43f164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rik=20Paradis?= Date: Tue, 12 Apr 2016 11:18:46 -0400 Subject: [PATCH] Adding const to the rhs of equality check of Iso_box_d --- Kernel_d/include/CGAL/Kernel_d/Iso_box_d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }