]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation error on Linux. Part II.
authorazv <azv@opencascade.com>
Tue, 15 Dec 2015 07:09:05 +0000 (10:09 +0300)
committerazv <azv@opencascade.com>
Tue, 15 Dec 2015 07:09:05 +0000 (10:09 +0300)
src/SketchSolver/SketchSolver_Constraint.cpp

index ad13e851d3f1b620cfc9e5f7ece8c9e4339dc748..4792c51ff2a48391dd7bb84efcdd8e6408a5b604 100644 (file)
@@ -225,8 +225,8 @@ void SketchSolver_Constraint::getAttributes(
       return;
     }
 
-    myStorage->update(aRefAttr, myGroupID);
-    EntityWrapperPtr anEntity = myStorage->entity(aRefAttr);
+    myStorage->update(*anIter, myGroupID);
+    EntityWrapperPtr anEntity = myStorage->entity(*anIter);
 
     SketchSolver_EntityType aType = anEntity->type();
     if (aType == ENTITY_UNKNOWN)