Salome HOME
Replace void* with shared_ptr<void> in GeomAPI_Interface
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.cpp
index 29fe933a668f87ddfab4985fbf3ff1b910e12c6a..0cf67c2ad7ae7c5b506b685c7fc17d66fac336ee 100644 (file)
@@ -14,7 +14,7 @@
 #include<gp_Pln.hxx>
 #include<ProjLib.hxx>
 
-#define MY_PNT static_cast<gp_Pnt*>(myImpl)
+#define MY_PNT implPtr<gp_Pnt>()
 
 GeomAPI_Pnt::GeomAPI_Pnt(const double theX, const double theY, const double theZ)
     : GeomAPI_Interface(new gp_Pnt(theX, theY, theZ))