From 7e234c0a690c53caa794861f038a0d18161744dd Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 23 Jun 2016 14:13:55 +0300 Subject: [PATCH] Fix compilation on Linux --- src/SketchSolver/SketchSolver_Storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_Storage.cpp b/src/SketchSolver/SketchSolver_Storage.cpp index b22932001..415f342b9 100644 --- a/src/SketchSolver/SketchSolver_Storage.cpp +++ b/src/SketchSolver/SketchSolver_Storage.cpp @@ -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 -- 2.39.2