From 37a6a4360f3189d0b24cc6cb1527fe86a05e7125 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Thu, 19 Mar 2020 15:50:22 +0100 Subject: [PATCH] Fix warnings --- .../demo/Optimal_transportation_reconstruction_2/scene.h | 2 +- Spatial_searching/include/CGAL/Kd_tree_rectangle.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h index 5693f0fbb30..2947db39636 100644 --- a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h +++ b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h @@ -407,7 +407,7 @@ public: Point_3_from_sample()), boost::make_transform_iterator (m_samples.end(), Point_3_from_sample())), - 3); + 3, CGAL::parameters::point_map (CGAL::Identity_property_map_no_lvalue())); std::cerr << "Average spacing = " << spacing << std::endl; } diff --git a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h index 297c2203f6c..f0b9b68e48f 100644 --- a/Spatial_searching/include/CGAL/Kd_tree_rectangle.h +++ b/Spatial_searching/include/CGAL/Kd_tree_rectangle.h @@ -105,6 +105,7 @@ namespace CGAL { } Kd_tree_rectangle() + : max_span_coord_(-1) {}