mirror of https://github.com/CGAL/cgal
fix conversion from size_t to unsigned
This commit is contained in:
parent
0ce2a5cd54
commit
c6c8fc571b
|
|
@ -39,7 +39,7 @@ class Import_volume_as_polyhedron : public CGAL::Modifier_base<HDS> {
|
|||
//data members
|
||||
Face_handle current_face;
|
||||
std::vector< typename Vertex::Point > points;
|
||||
unsigned nb_edges;
|
||||
std::size_t nb_edges;
|
||||
std::vector<CGAL::cpp0x::tuple<unsigned,unsigned,unsigned> > faces;
|
||||
|
||||
typename HDS::Halfedge::Base*
|
||||
|
|
|
|||
|
|
@ -2098,8 +2098,8 @@ public:
|
|||
++it )
|
||||
{
|
||||
internal_IOP::Volume_info<Polyhedron>& info=it->template attribute<3>()->info();
|
||||
unsigned inside_size=info.inside.size();
|
||||
unsigned outside_size=info.outside.size();
|
||||
std::size_t inside_size=info.inside.size();
|
||||
std::size_t outside_size=info.outside.size();
|
||||
if ( inside_size + outside_size == 1)
|
||||
{
|
||||
bool is_inside = (inside_size==1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue