Adding const to the rhs of equality check of Iso_box_d

This commit is contained in:
Frédérik Paradis 2016-04-12 11:18:46 -04:00
parent c8e1a78a39
commit 39ab3e6e3a
1 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ public:
template < typename Kernel >
inline bool
operator==(const Iso_box_d<Kernel>& b1, Iso_box_d<Kernel>& b2)
operator==(const Iso_box_d<Kernel>& b1, const Iso_box_d<Kernel>& 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<Kernel>& b1, Iso_box_d<Kernel>& b2)
template < typename Kernel >
inline bool
operator!=(const Iso_box_d<Kernel>& b1, Iso_box_d<Kernel>& b2)
operator!=(const Iso_box_d<Kernel>& b1, const Iso_box_d<Kernel>& b2)
{
return ! (b1 == b2);
}