Salome HOME
Edit created feature after noMoreWidgets. Restart the creation operation by click...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir.cpp
index 5c42d68a0d9e6afc35664479468a23ca8701ee89..3174cea0ee8f6fe056534d21ccac6885a0116e69 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <gp_Dir.hxx>
 
-#define MY_DIR static_cast<gp_Dir*>(myImpl)
+#define MY_DIR implPtr<gp_Dir>()
 
 GeomAPI_Dir::GeomAPI_Dir(const double theX, const double theY, const double theZ)
     : GeomAPI_Interface(new gp_Dir(theX, theY, theZ))