]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomData/GeomData_Point2D.cpp
Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / GeomData / GeomData_Point2D.cpp
index 924f80f8ca32bafd745151d4505d4dfd3033ab91..eee50b4e7a01ab48cdfa3d55834362a03dfbd097 100644 (file)
@@ -18,7 +18,7 @@ void GeomData_Point2D::setValue(const double theX, const double theY)
   }
 }
 
-void GeomData_Point2D::setValue(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint)
+void GeomData_Point2D::setValue(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
 {
   setValue(thePoint->x(), thePoint->y());
 }
@@ -33,9 +33,9 @@ double GeomData_Point2D::y() const
   return myCoords->Value(1);
 }
 
-boost::shared_ptr<GeomAPI_Pnt2d> GeomData_Point2D::pnt()
+std::shared_ptr<GeomAPI_Pnt2d> GeomData_Point2D::pnt()
 {
-  boost::shared_ptr<GeomAPI_Pnt2d> aResult(
+  std::shared_ptr<GeomAPI_Pnt2d> aResult(
       new GeomAPI_Pnt2d(myCoords->Value(0), myCoords->Value(1)));
   return aResult;
 }