X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_SketchBuilder.cpp;h=3b3b4d5489c9180e3863883ad115cedc53a44bdd;hb=5b6031b015602aa07f5a6fc668c13ac3faf7a8a9;hp=880273df25fe4665fa09d37cd3649dfca5df5be9;hpb=41035d87c5caab2771e9bddd3fa2dc07e57548ab;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp index 880273df2..3b3b4d548 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp @@ -147,9 +147,9 @@ void GeomAlgoAPI_SketchBuilder::createFaces(const std::shared_ptr& const std::shared_ptr& theDirX, const std::shared_ptr& theNorm, const std::shared_ptr& theWire, - std::list >& theResultFaces) + std::list >& theResultFaces) { - std::shared_ptr aWire = + std::shared_ptr aWire = std::dynamic_pointer_cast(theWire); if(aWire) { // Filter wires, return only faces.