From: azv Date: Mon, 27 Feb 2017 10:34:36 +0000 (+0300) Subject: Fix compilation errors X-Git-Tag: V_2.7.0~264 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f03bc4089a063210d2d74818fce8b6bbd6645a84;p=modules%2Fshaper.git Fix compilation errors --- diff --git a/src/SketchSolver/SketchSolver_Constraint.cpp b/src/SketchSolver/SketchSolver_Constraint.cpp index 1ac6bc83b..385190514 100644 --- a/src/SketchSolver/SketchSolver_Constraint.cpp +++ b/src/SketchSolver/SketchSolver_Constraint.cpp @@ -159,7 +159,7 @@ void SketchSolver_Constraint::update() return; } - AttributeDoublePtr aValueAttr = myBaseConstraint->real(SketchPlugin_Constraint::VALUE()); + AttributePtr aValueAttr = myBaseConstraint->attribute(SketchPlugin_Constraint::VALUE()); if (aValueAttr) myStorage->update(aValueAttr); @@ -187,7 +187,7 @@ void SketchSolver_Constraint::getAttributes( myType = TYPE(myBaseConstraint); - AttributeDoublePtr aValueAttr = aData->real(SketchPlugin_Constraint::VALUE()); + AttributePtr aValueAttr = aData->attribute(SketchPlugin_Constraint::VALUE()); if (aValueAttr) { PlaneGCSSolver_AttributeBuilder aValueBuilder; theValue = aValueBuilder.createAttribute(aValueAttr);