From 69ab96aa2914d1a7d0032b682b968c5f7a791927 Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 15 Jun 2016 14:46:46 +0300 Subject: [PATCH] Compilation fix --- src/ConstructionAPI/ConstructionAPI_Axis.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ConstructionAPI/ConstructionAPI_Axis.h b/src/ConstructionAPI/ConstructionAPI_Axis.h index a473aeffb..49077c78b 100644 --- a/src/ConstructionAPI/ConstructionAPI_Axis.h +++ b/src/ConstructionAPI/ConstructionAPI_Axis.h @@ -82,20 +82,23 @@ typedef std::shared_ptr AxisPtr; * \brief Create Axis feature */ CONSTRUCTIONAPI_EXPORT -AxisPtr addAxis(const ModelHighAPI_Selection & thePoint1, +AxisPtr addAxis(const std::shared_ptr & thePart, + const ModelHighAPI_Selection & thePoint1, const ModelHighAPI_Selection & thePoint2); /**\ingroup CPPHighAPI * \brief Create Axis feature */ CONSTRUCTIONAPI_EXPORT -AxisPtr addAxis(const ModelHighAPI_Selection & theCylindricalFace); +AxisPtr addAxis(const std::shared_ptr & thePart, + const ModelHighAPI_Selection & theCylindricalFace); /**\ingroup CPPHighAPI * \brief Create Axis feature */ CONSTRUCTIONAPI_EXPORT -AxisPtr addAxis(const ModelHighAPI_Selection & thePoint, +AxisPtr addAxis(const std::shared_ptr & thePart, + const ModelHighAPI_Selection & thePoint, const ModelHighAPI_Double & theX, const ModelHighAPI_Double & theY, const ModelHighAPI_Double & theZ); -- 2.39.2