mirror of https://github.com/CGAL/cgal
std::size_t -> unsigned int to adress warnings
This commit is contained in:
parent
b629a9e9e3
commit
665e4bbd0b
|
|
@ -916,7 +916,7 @@ struct Is_constrained_map<SMesh>
|
|||
:mesh(mesh)
|
||||
{
|
||||
icmap = mesh->add_property_map<sm_vertex_descriptor,int>("v:is_control", -1).first;
|
||||
for(std::size_t i=0; i<vec->size(); ++i)
|
||||
for(unsigned int i=0; i<vec->size(); ++i)
|
||||
{
|
||||
icmap[sm_vertex_descriptor(i)] = (*vec)[i];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -736,7 +736,7 @@ public:
|
|||
std::vector<Polyhedron::Point_3> points;
|
||||
points.reserve(selected_facets.size());
|
||||
VPmap vpm = get(CGAL::vertex_point, *polyhedron());
|
||||
std::size_t counter = 1;
|
||||
unsigned int counter = 1;
|
||||
for(Selection_set_facet::iterator fb = selected_facets.begin(); fb != selected_facets.end(); ++fb) {
|
||||
BOOST_FOREACH(fg_halfedge_descriptor hb, halfedges_around_face(halfedge(*fb,*polyhedron()),*polyhedron())){
|
||||
if(get(vertex_selection_map(), target(hb,*polyhedron())) == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue