Salome HOME
Adjust Nb Segments hypothesis for creating a huge mesh
[modules/smesh.git] / src / SMESHDS / SMESHDS_SubMesh.hxx
index 47d5df06191465ef90b1f242ad0284a8b3f124f8..bf392b7a027d2edc071fc487c0f3e79a93769b6c 100644 (file)
@@ -63,7 +63,7 @@ class SMESHDS_EXPORT SMESHDS_SubMesh : public SMDS_ElementHolder
   bool RemoveSubMesh( const SMESHDS_SubMesh* theSubMesh );
   void RemoveAllSubmeshes();
   bool ContainsSubMesh( const SMESHDS_SubMesh* theSubMesh ) const;
-  int  NbSubMeshes() const { return mySubMeshes.size(); }
+  size_t NbSubMeshes() const { return mySubMeshes.size(); }
   SMESHDS_SubMeshIteratorPtr GetSubMeshIterator() const;
 
   // for both types