mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Win32 compatibility
This commit is contained in:
parent
0de979b494
commit
e66a037179
@ -1174,7 +1174,7 @@ int SMESH_MeshEditor::Reorient2D (TIDSortedElemSet & theFaces,
|
||||
avoidSet.clear();
|
||||
avoidSet.insert(theFace);
|
||||
|
||||
NLink link( theFace->GetNode( 0 ), 0 );
|
||||
NLink link( theFace->GetNode( 0 ), (SMDS_MeshNode *) 0 );
|
||||
|
||||
const int nbNodes = theFace->NbCornerNodes();
|
||||
for ( int i = 0; i < nbNodes; ++i ) // loop on links of theFace
|
||||
|
@ -3551,7 +3551,7 @@ namespace { // Structures used by FixQuadraticElements()
|
||||
}
|
||||
else if ( _faces.size() > 1 ) // not found, set NULL by the first face
|
||||
{
|
||||
_faces.insert( ++_faces.begin(), 0 );
|
||||
_faces.insert( ++_faces.begin(), (QFace*) 0 );
|
||||
}
|
||||
}
|
||||
//================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user