Remove erroneous 'const'

The concept `Kernel::ConstructPoint_3::operator()` is not required to be const.
This commit is contained in:
Mael 2020-05-14 09:54:08 +02:00 committed by Mael Rouxel-Labbé
parent 0e7cf9da70
commit f7dee23b5d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void construct_oriented_bounding_box(const PointRange& points,
zmax = (std::max)(rot_pt.z(), zmax); zmax = (std::max)(rot_pt.z(), zmax);
} }
const typename Traits::Construct_point_3 cp = traits.construct_point_3_object(); typename Traits::Construct_point_3 cp = traits.construct_point_3_object();
obb_points[0] = cp(xmin, ymin, zmin); obb_points[0] = cp(xmin, ymin, zmin);
obb_points[1] = cp(xmax, ymin, zmin); obb_points[1] = cp(xmax, ymin, zmin);