From: azv Date: Fri, 26 Aug 2016 07:54:57 +0000 (+0300) Subject: Revert insufficient changes to avoid compilation error on Linux X-Git-Tag: V_2.5.0~127 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2415b131a29a03615813fa76658ac228a4a39d37;p=modules%2Fshaper.git Revert insufficient changes to avoid compilation error on Linux --- diff --git a/src/SketchSolver/SketchSolver_Constraint.cpp b/src/SketchSolver/SketchSolver_Constraint.cpp index eeabd7478..c402ec7dd 100644 --- a/src/SketchSolver/SketchSolver_Constraint.cpp +++ b/src/SketchSolver/SketchSolver_Constraint.cpp @@ -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);