diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index a8d2e7553b2..e6caa55878e 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h @@ -323,7 +323,7 @@ namespace internal { remove(halfedge_status_pmap_, mesh_); if (build_tree_){ - for(int i=0; i < trees.size();++i){ + for(std::size_t i=0; i < trees.size();++i){ delete trees[i]; } } @@ -361,7 +361,7 @@ namespace internal { if (!build_tree_) return; trees.resize(patch_id_to_index_map.size()); - for(int i=0; i < trees.size(); ++i){ + for(std::size_t i=0; i < trees.size(); ++i){ trees[i] = new AABB_tree(); } typename Triangle_list::iterator it; @@ -371,7 +371,7 @@ namespace internal { ++it, ++pit){ trees[patch_id_to_index_map[*pit]]->insert(it); } - for(int i=0; i < trees.size(); ++i){ + for(std::size_t i=0; i < trees.size(); ++i){ trees[i]->build(); trees[i]->accelerate_distance_queries(); } diff --git a/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h b/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h index 40dc504607f..5cca8f78973 100644 --- a/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h +++ b/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h @@ -80,9 +80,9 @@ struct Dynamic_polyhedron_property_map { } - V default_value_; typedef boost::unordered_map Map; boost::shared_ptr map_; + V default_value_; }; template @@ -594,7 +594,7 @@ add(boost::edge_property_t vprop, Polyhedron_3& poly) template typename boost::property_map, boost::halfedge_property_t >::const_type -add(boost::halfedge_property_t vprop, Polyhedron_3& poly) +add(boost::halfedge_property_t vprop, Polyhedron_3&) { typedef CGAL::Polyhedron_3 SM; typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor; @@ -603,7 +603,7 @@ add(boost::halfedge_property_t vprop, Polyhedron_3& poly) template typename boost::property_map, boost::face_property_t >::const_type -add(boost::face_property_t vprop, Polyhedron_3& poly) +add(boost::face_property_t vprop, Polyhedron_3&) { typedef CGAL::Polyhedron_3 SM; typedef typename boost::graph_traits::face_descriptor face_descriptor;