X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_PositionMgr.h;h=65a2aa06827c3407fe1e780c5fddb95b70d48f58;hb=7f873aed4bae5a98dca078209699b54276b46fce;hp=8c8445de8d2b9195e91e2710873fc4edd3e72d92;hpb=ec6aaa4d8bd3609b04ea85683e1b1175b6632238;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_PositionMgr.h b/src/SketcherPrs/SketcherPrs_PositionMgr.h index 8c8445de8..65a2aa068 100644 --- a/src/SketcherPrs/SketcherPrs_PositionMgr.h +++ b/src/SketcherPrs/SketcherPrs_PositionMgr.h @@ -11,6 +11,7 @@ #include #include +#include #include @@ -28,7 +29,7 @@ public: /// Returns position of symbol for the given presentation /// \param theLine constrained object /// \param thePrs a presentation of constraint - gp_Pnt getPosition(std::shared_ptr theLine, Handle(SketcherPrs_SymbolPrs) thePrs); + gp_Pnt getPosition(ObjectPtr theLine, Handle(SketcherPrs_SymbolPrs) thePrs); /// Deletes constraint object from internal structures. Has to be called on constraint delete. /// \param thePrs a constraint presentation @@ -41,7 +42,7 @@ private: /// Returns position index of the given constraint /// \param theLine constrained object /// \param thePrs a presentation of constraint - int getPositionIndex(std::shared_ptr theLine, Handle(SketcherPrs_SymbolPrs) thePrs); + int getPositionIndex(ObjectPtr theLine, Handle(SketcherPrs_SymbolPrs) thePrs); private: typedef std::map PositionsMap; @@ -50,7 +51,7 @@ private: PositionsMap myIndexes; /// The map contains position index - std::map, PositionsMap> myShapes; + std::map myShapes; }; #endif \ No newline at end of file