mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 19:50:33 +05:00
remove compilation error on Windows
This commit is contained in:
parent
db647c3bf2
commit
8a7fc527d7
@ -8239,7 +8239,7 @@ bool SMESH_MeshEditor::doubleNodes( SMESHDS_Mesh* theMeshDS,
|
|||||||
{
|
{
|
||||||
// iterate on through element and duplicate them (by nodes duplication)
|
// iterate on through element and duplicate them (by nodes duplication)
|
||||||
bool res = false;
|
bool res = false;
|
||||||
TIDSortedElemSet::iterator elemItr = theElems.begin();
|
const TIDSortedElemSet::iterator elemItr = theElems.begin();
|
||||||
for ( ; elemItr != theElems.end(); ++elemItr )
|
for ( ; elemItr != theElems.end(); ++elemItr )
|
||||||
{
|
{
|
||||||
const SMDS_MeshElement* anElem = *elemItr;
|
const SMDS_MeshElement* anElem = *elemItr;
|
||||||
@ -8329,7 +8329,7 @@ bool SMESH_MeshEditor::DoubleNodesInRegion( const TIDSortedElemSet& theElems,
|
|||||||
|
|
||||||
// iterates on indicated elements and get elements by back references from their nodes
|
// iterates on indicated elements and get elements by back references from their nodes
|
||||||
TIDSortedElemSet anAffected;
|
TIDSortedElemSet anAffected;
|
||||||
TIDSortedElemSet::iterator elemItr = theElems.begin();
|
const TIDSortedElemSet::iterator elemItr = theElems.begin();
|
||||||
for ( ; elemItr != theElems.end(); ++elemItr )
|
for ( ; elemItr != theElems.end(); ++elemItr )
|
||||||
{
|
{
|
||||||
SMDS_MeshElement* anElem = (SMDS_MeshElement*)*elemItr;
|
SMDS_MeshElement* anElem = (SMDS_MeshElement*)*elemItr;
|
||||||
|
Loading…
Reference in New Issue
Block a user