X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Application.h;h=3d905dc41e35994026e0f9def396184112a65f7b;hb=50c050906e6b5926727fcbadcbf4247326ef60be;hp=d9eb4bb200cc3b1ece948bda72524aed6d5707d7;hpb=34b118cd5567416cde2d00a2b7d62832d62f7a51;p=modules%2Fshaper.git diff --git a/src/Model/Model_Application.h b/src/Model/Model_Application.h index d9eb4bb20..3d905dc41 100644 --- a/src/Model/Model_Application.h +++ b/src/Model/Model_Application.h @@ -31,7 +31,7 @@ class Model_Application : public TDocStd_Application //! Retuns the application: one per process MODEL_EXPORT static Handle_Model_Application getApplication(); //! Returns the main document (on first call creates it) by the string identifier - MODEL_EXPORT const boost::shared_ptr& getDocument(std::string theDocID); + MODEL_EXPORT const std::shared_ptr& getDocument(std::string theDocID); //! Returns true if document has been created MODEL_EXPORT bool hasDocument(std::string theDocID); //! Deletes the document from the application @@ -60,7 +60,7 @@ class Model_Application : public TDocStd_Application private: /// Map from string identifiers to created documents of an application - std::map > myDocs; + std::map > myDocs; /// Path for the loaded by demand documents std::string myPath; /// Path for the loaded by demand documents