From: azv Date: Tue, 15 Dec 2015 07:09:05 +0000 (+0300) Subject: Fix compilation error on Linux. Part II. X-Git-Tag: V_2.1.0~187 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b746489b01ca63189151fe570c63565d28e20f68;p=modules%2Fshaper.git Fix compilation error on Linux. Part II. --- diff --git a/src/SketchSolver/SketchSolver_Constraint.cpp b/src/SketchSolver/SketchSolver_Constraint.cpp index ad13e851d..4792c51ff 100644 --- a/src/SketchSolver/SketchSolver_Constraint.cpp +++ b/src/SketchSolver/SketchSolver_Constraint.cpp @@ -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)