From b746489b01ca63189151fe570c63565d28e20f68 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 15 Dec 2015 10:09:05 +0300 Subject: [PATCH] Fix compilation error on Linux. Part II. --- src/SketchSolver/SketchSolver_Constraint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2