From: azv Date: Thu, 23 Jun 2016 11:13:55 +0000 (+0300) Subject: Fix compilation on Linux X-Git-Tag: V_2.4.0~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e234c0a690c53caa794861f038a0d18161744dd;p=modules%2Fshaper.git Fix compilation on Linux --- 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