From 2fa6f3c92b7397b088cf3e84a9ceb2526ececf88 Mon Sep 17 00:00:00 2001 From: ptv Date: Tue, 1 Sep 2009 06:56:48 +0000 Subject: [PATCH] remove compilation error on Windows --- src/SMESH/SMESH_MeshEditor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 89354777b..752bab7fe 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -5121,7 +5121,7 @@ struct SMESH_NodeSearcherImpl: public SMESH_NodeSearcher { SMDS_MeshNode tgtNode( thePnt.X(), thePnt.Y(), thePnt.Z() ); list nodes; - const double precision = 1e-6; + //const double precision = 1e-6; //myOctreeNode->NodesAround( &tgtNode, &nodes, precision ); double minSqDist = DBL_MAX; @@ -8239,7 +8239,7 @@ bool SMESH_MeshEditor::doubleNodes( SMESHDS_Mesh* theMeshDS, { // iterate on through element and duplicate them (by nodes duplication) bool res = false; - const TIDSortedElemSet::iterator elemItr = theElems.begin(); + TIDSortedElemSet::const_iterator elemItr = theElems.begin(); for ( ; elemItr != theElems.end(); ++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 TIDSortedElemSet anAffected; - const TIDSortedElemSet::iterator elemItr = theElems.begin(); + TIDSortedElemSet::const_iterator elemItr = theElems.begin(); for ( ; elemItr != theElems.end(); ++elemItr ) { SMDS_MeshElement* anElem = (SMDS_MeshElement*)*elemItr; -- 2.39.2