Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeDocRef.h
index cf7cc84f379c0f8cab8cb209312d4034fd8a3c06..b7c4bbcdfc42a20d0875000532a232912bfb50a5 100644 (file)
@@ -17,10 +17,10 @@ class ModelAPI_AttributeDocRef : public ModelAPI_Attribute
 {
  public:
   /// Defines the document referenced from this attribute
-  MODELAPI_EXPORT virtual void setValue(boost::shared_ptr<ModelAPI_Document> theDoc) = 0;
+  MODELAPI_EXPORT virtual void setValue(std::shared_ptr<ModelAPI_Document> theDoc) = 0;
 
   /// Returns document referenced from this attribute
-  MODELAPI_EXPORT virtual boost::shared_ptr<ModelAPI_Document> value() = 0;
+  MODELAPI_EXPORT virtual std::shared_ptr<ModelAPI_Document> value() = 0;
 
   /// Returns the type of this class of attributes
   MODELAPI_EXPORT static std::string type()
@@ -46,6 +46,6 @@ class ModelAPI_AttributeDocRef : public ModelAPI_Attribute
   }
 };
 
-typedef boost::shared_ptr<ModelAPI_AttributeDocRef> AttributeDocRefPtr;
+typedef std::shared_ptr<ModelAPI_AttributeDocRef> AttributeDocRefPtr;
 
 #endif