]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Point.cpp
Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.cpp
index 61c20a9ee79333a3b6de3d27f32d63fd5df2d94e..f98ac1b85b449d164887efe527fc02602d739c20 100644 (file)
@@ -26,11 +26,11 @@ void ConstructionPlugin_Point::initAttributes()
 
 void ConstructionPlugin_Point::execute()
 {
-  boost::shared_ptr<GeomAPI_Pnt> aPnt(
+  std::shared_ptr<GeomAPI_Pnt> aPnt(
       new GeomAPI_Pnt(data()->real(POINT_ATTR_X)->value(), data()->real(POINT_ATTR_Y)->value(),
                       data()->real(POINT_ATTR_Z)->value()));
 
-  boost::shared_ptr<ModelAPI_ResultConstruction> aConstr = document()->createConstruction(data());
+  std::shared_ptr<ModelAPI_ResultConstruction> aConstr = document()->createConstruction(data());
   aConstr->setShape(GeomAlgoAPI_PointBuilder::point(aPnt));
   setResult(aConstr);
 }