size_t fix in polyconnectivity

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@866 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 08:23:36 +00:00
parent 273c1581d7
commit 435d714121

View File

@@ -611,13 +611,13 @@ PolyConnectivity::ConstVertexIter PolyConnectivity::vertices_begin() const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::VertexIter PolyConnectivity::vertices_end() PolyConnectivity::VertexIter PolyConnectivity::vertices_end()
{ {
return VertexIter(*this, VertexHandle(n_vertices())); return VertexIter(*this, VertexHandle( int(n_vertices() ) ));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::ConstVertexIter PolyConnectivity::vertices_end() const PolyConnectivity::ConstVertexIter PolyConnectivity::vertices_end() const
{ {
return ConstVertexIter(*this, VertexHandle(n_vertices())); return ConstVertexIter(*this, VertexHandle( int(n_vertices()) ));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -635,13 +635,13 @@ PolyConnectivity::ConstHalfedgeIter PolyConnectivity::halfedges_begin() const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::HalfedgeIter PolyConnectivity::halfedges_end() PolyConnectivity::HalfedgeIter PolyConnectivity::halfedges_end()
{ {
return HalfedgeIter(*this, HalfedgeHandle(n_halfedges())); return HalfedgeIter(*this, HalfedgeHandle(int(n_halfedges())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::ConstHalfedgeIter PolyConnectivity::halfedges_end() const PolyConnectivity::ConstHalfedgeIter PolyConnectivity::halfedges_end() const
{ {
return ConstHalfedgeIter(*this, HalfedgeHandle(n_halfedges())); return ConstHalfedgeIter(*this, HalfedgeHandle(int(n_halfedges())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -659,13 +659,13 @@ PolyConnectivity::ConstEdgeIter PolyConnectivity::edges_begin() const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::EdgeIter PolyConnectivity::edges_end() PolyConnectivity::EdgeIter PolyConnectivity::edges_end()
{ {
return EdgeIter(*this, EdgeHandle(n_edges())); return EdgeIter(*this, EdgeHandle(int(n_edges())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::ConstEdgeIter PolyConnectivity::edges_end() const PolyConnectivity::ConstEdgeIter PolyConnectivity::edges_end() const
{ {
return ConstEdgeIter(*this, EdgeHandle(n_edges())); return ConstEdgeIter(*this, EdgeHandle(int(n_edges())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -683,13 +683,13 @@ PolyConnectivity::ConstFaceIter PolyConnectivity::faces_begin() const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::FaceIter PolyConnectivity::faces_end() PolyConnectivity::FaceIter PolyConnectivity::faces_end()
{ {
return FaceIter(*this, FaceHandle(n_faces())); return FaceIter(*this, FaceHandle(int(n_faces())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
PolyConnectivity::ConstFaceIter PolyConnectivity::faces_end() const PolyConnectivity::ConstFaceIter PolyConnectivity::faces_end() const
{ {
return ConstFaceIter(*this, FaceHandle(n_faces())); return ConstFaceIter(*this, FaceHandle(int(n_faces())));
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------