]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation error on Linux
authorazv <azv@opencascade.com>
Tue, 22 Dec 2015 05:55:12 +0000 (08:55 +0300)
committerazv <azv@opencascade.com>
Tue, 22 Dec 2015 05:55:12 +0000 (08:55 +0300)
src/SketchSolver/SketchSolver_ConstraintFixed.cpp

index 36dfca58a964a5f2114ae9dcfee46cf5847917fe..e5c24158c5ac46b7ed2b6671b7391a1ce7fb27c3 100644 (file)
@@ -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) {