]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.cpp
Salome HOME
Get rid of compilation warnings. Part II. MSVC warnings.
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_CompositeBoolean.cpp
index 2a3eed919a472b5cf595d19fed4f5940b288b053..4ab108ec722757dda7ec8ff2d72ff6935fdc73de 100644 (file)
@@ -288,13 +288,13 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
              aCompSolidIt.next())
         {
           GeomShapePtr aSolidInCompSolid = aCompSolidIt.current();
-          ListOfShape::iterator anIt = aUsedShapes.begin();
-          for(; anIt != aUsedShapes.end(); anIt++) {
-            if(aSolidInCompSolid->isEqual(*anIt)) {
+          ListOfShape::iterator aUseIt = aUsedShapes.begin();
+          for(; aUseIt != aUsedShapes.end(); anIt++) {
+            if(aSolidInCompSolid->isEqual(*aUseIt)) {
               break;
             }
           }
-          if(anIt == aUsedShapes.end()) {
+          if(aUseIt == aUsedShapes.end()) {
             aShapesToAdd.push_back(aSolidInCompSolid);
           }
         }