From 9ccadcb5a8c6171c0ccb516519a58e6bc8fabf8d Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 22 Dec 2015 08:55:12 +0300 Subject: [PATCH] Fix compilation error on Linux --- src/SketchSolver/SketchSolver_ConstraintFixed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2