]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation on Linux
authorazv <azv@opencascade.com>
Thu, 23 Jun 2016 11:13:55 +0000 (14:13 +0300)
committerazv <azv@opencascade.com>
Thu, 23 Jun 2016 11:13:55 +0000 (14:13 +0300)
src/SketchSolver/SketchSolver_Storage.cpp

index b22932001d541533d97ec7fd3dcb2f8b384c2b5f..415f342b94b30b9c8b17a93e7669f76bb57fb406 100644 (file)
@@ -419,7 +419,7 @@ bool SketchSolver_Storage::isUsed(AttributePtr theAttribute) const
         return true;
     // Additional check for the Fixed constraints, which have no wrapper associated.
     if (aCIt->first->getKind() == SketchPlugin_ConstraintRigid::ID() &&
-        ::isUsed(aCIt->first, anAttribute))
+        ::isUsed(FeaturePtr(aCIt->first), anAttribute))
       return true;
   }
   // check in features