mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 12:40:33 +05:00
Fix for compilation with gcc 4.7
This commit is contained in:
parent
d4a710ce52
commit
86c4cc3003
@ -2828,7 +2828,7 @@ struct MYNode_Map_Iterator: public FATHER
|
||||
template <typename ELEM=const SMDS_MeshElement*>
|
||||
class IdSortedIterator : public SMDS_Iterator<ELEM>
|
||||
{
|
||||
const SMDS_MeshElementIDFactory& myIDFact;
|
||||
SMDS_MeshElementIDFactory& myIDFact;
|
||||
int myID, myMaxID, myNbFound, myTotalNb;
|
||||
SMDSAbs_ElementType myType;
|
||||
ELEM myElem;
|
||||
|
@ -4865,7 +4865,6 @@ SMESH_MeshEditor::ExtrusionAlongTrack (TIDSortedElemSet & theElements,
|
||||
const SMDS_MeshElement* currentElem = NULL;
|
||||
int totalNbEdges = theTrack->NbEdges();
|
||||
SMDS_ElemIteratorPtr nIt;
|
||||
bool isClosed = false;
|
||||
|
||||
//check start node
|
||||
if( !theTrack->GetMeshDS()->Contains(theN1) ) {
|
||||
@ -4897,7 +4896,6 @@ SMESH_MeshEditor::ExtrusionAlongTrack (TIDSortedElemSet & theElements,
|
||||
//case of the closed mesh
|
||||
if(currentNode == theN1) {
|
||||
nbEdges++;
|
||||
isClosed = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
||||
#ifdef WIN32
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user