From: azv Date: Tue, 22 Dec 2015 05:55:12 +0000 (+0300) Subject: Fix compilation error on Linux X-Git-Tag: V_2.1.0~121 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ccadcb5a8c6171c0ccb516519a58e6bc8fabf8d;p=modules%2Fshaper.git Fix compilation error on Linux --- diff --git a/src/SketchSolver/SketchSolver_ConstraintFixed.cpp b/src/SketchSolver/SketchSolver_ConstraintFixed.cpp index 36dfca58a..e5c24158c 100644 --- a/src/SketchSolver/SketchSolver_ConstraintFixed.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintFixed.cpp @@ -99,7 +99,7 @@ bool SketchSolver_ConstraintFixed::remove() if (aFeature) myStorage->update(aFeature, myGroupID); else if (myFixedAttribute) - myStorage->update(myFixedAttribute, myGroupID); + myStorage->update(AttributePtr(myFixedAttribute), myGroupID); // Remove constraint or base feature if (myBaseConstraint) {