]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Revert insufficient changes to avoid compilation error on Linux
authorazv <azv@opencascade.com>
Fri, 26 Aug 2016 07:54:57 +0000 (10:54 +0300)
committerazv <azv@opencascade.com>
Fri, 26 Aug 2016 07:54:57 +0000 (10:54 +0300)
src/SketchSolver/SketchSolver_Constraint.cpp

index eeabd7478946db8f218095a51cf9b93be51f0196..c402ec7dd8adf39f515464d760625ba65f64518d 100644 (file)
@@ -224,12 +224,12 @@ void SketchSolver_Constraint::getAttributes(
       return;
     }
 
-    myStorage->update(aRefAttr/*, myGroupID*/);
-    EntityWrapperPtr anEntity = myStorage->entity(aRefAttr);
+    myStorage->update(*anIter/*, myGroupID*/);
+    EntityWrapperPtr anEntity = myStorage->entity(*anIter);
     if (!anEntity) {
       // Force creation of an entity
-      myStorage->update(aRefAttr, GID_UNKNOWN, true);
-      anEntity = myStorage->entity(aRefAttr);
+      myStorage->update(*anIter, GID_UNKNOWN, true);
+      anEntity = myStorage->entity(*anIter);
     }
     myAttributes.push_back(anEntity);