C++11 compatibility

This commit is contained in:
vsr 2015-10-21 17:34:06 +03:00
parent b86daf4190
commit 1539a31572
2 changed files with 2 additions and 2 deletions

View File

@ -8528,7 +8528,7 @@ SMESH_MeshEditor::SewFreeBorder (const SMDS_MeshNode* theBordFirstNode,
// sew the border to the side 2
// ============================
int nbNodes[] = { nSide[0].size(), nSide[1].size() };
int nbNodes[] = { (int)nSide[0].size(), (int)nSide[1].size() };
int maxNbNodes = Max( nbNodes[0], nbNodes[1] );
bool toMergeConformal = ( nbNodes[0] == nbNodes[1] );

View File

@ -3135,7 +3135,7 @@ namespace
if ( !_vIntNodes.empty() )
return false;
const int ijk[3] = { _i, _j, _k };
const size_t ijk[3] = { _i, _j, _k };
F_IntersectPoint curIntPnt;
// consider a cell to be in a hole if all links in any direction