Salome HOME
ModelDocument test corrected to avoid SWIG/Python crash
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultConstruction.h
index 8f040209ff666763269d5c8b94a169e3513786e2..1092c4a9c1f20124ae9a2471dd40bf72e2bb0a65 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModelAPI_ResultConstruction.h
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
@@ -34,13 +36,13 @@ class ModelAPI_ResultConstruction : public ModelAPI_Result
   }
 
   /// Sets the result
-  virtual void setShape(boost::shared_ptr<GeomAPI_Shape> theShape) = 0;
+  virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;
 
   /// Sets the flag that it must be displayed in history (default is true)
   virtual void setIsInHistory(const bool isInHistory) = 0;
 };
 
 //! Pointer on feature object
-typedef boost::shared_ptr<ModelAPI_ResultConstruction> ResultConstructionPtr;
+typedef std::shared_ptr<ModelAPI_ResultConstruction> ResultConstructionPtr;
 
 #endif