mirror of https://github.com/CGAL/cgal
Fix warnings
This commit is contained in:
parent
860cf84b9f
commit
a4a30648f7
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@ struct Dynamic_polyhedron_property_map {
|
|||
}
|
||||
|
||||
|
||||
V default_value_;
|
||||
typedef boost::unordered_map<K,V> Map;
|
||||
boost::shared_ptr<Map> map_;
|
||||
V default_value_;
|
||||
};
|
||||
|
||||
template<class Handle>
|
||||
|
|
@ -594,7 +594,7 @@ add(boost::edge_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>& poly)
|
|||
|
||||
template<class Gt, class I, CGAL_HDS_PARAM_, class A, class V>
|
||||
typename boost::property_map<Polyhedron_3<Gt, I, HDS, A>, boost::halfedge_property_t<V> >::const_type
|
||||
add(boost::halfedge_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>& poly)
|
||||
add(boost::halfedge_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>&)
|
||||
{
|
||||
typedef CGAL::Polyhedron_3<Gt, I, HDS, A> SM;
|
||||
typedef typename boost::graph_traits<SM>::halfedge_descriptor halfedge_descriptor;
|
||||
|
|
@ -603,7 +603,7 @@ add(boost::halfedge_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>& poly)
|
|||
|
||||
template<class Gt, class I, CGAL_HDS_PARAM_, class A, class V>
|
||||
typename boost::property_map<Polyhedron_3<Gt, I, HDS, A>, boost::face_property_t<V> >::const_type
|
||||
add(boost::face_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>& poly)
|
||||
add(boost::face_property_t<V> vprop, Polyhedron_3<Gt, I, HDS, A>&)
|
||||
{
|
||||
typedef CGAL::Polyhedron_3<Gt, I, HDS, A> SM;
|
||||
typedef typename boost::graph_traits<SM>::face_descriptor face_descriptor;
|
||||
|
|
|
|||
Loading…
Reference in New Issue