mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 20:50:36 +05:00
C++11 compatibility
This commit is contained in:
parent
b86daf4190
commit
1539a31572
@ -8528,7 +8528,7 @@ SMESH_MeshEditor::SewFreeBorder (const SMDS_MeshNode* theBordFirstNode,
|
|||||||
// sew the border to the side 2
|
// 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] );
|
int maxNbNodes = Max( nbNodes[0], nbNodes[1] );
|
||||||
|
|
||||||
bool toMergeConformal = ( nbNodes[0] == nbNodes[1] );
|
bool toMergeConformal = ( nbNodes[0] == nbNodes[1] );
|
||||||
|
@ -3135,7 +3135,7 @@ namespace
|
|||||||
if ( !_vIntNodes.empty() )
|
if ( !_vIntNodes.empty() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
const int ijk[3] = { _i, _j, _k };
|
const size_t ijk[3] = { _i, _j, _k };
|
||||||
F_IntersectPoint curIntPnt;
|
F_IntersectPoint curIntPnt;
|
||||||
|
|
||||||
// consider a cell to be in a hole if all links in any direction
|
// consider a cell to be in a hole if all links in any direction
|
||||||
|
Loading…
Reference in New Issue
Block a user