From: nds Date: Sat, 18 Jan 2020 03:56:05 +0000 (+0300) Subject: 0030268: Inspectors - improvements in VInspector plugin X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c2d747ac15239cad3787e63eeb2fc8950a016e6d;p=occt-copy.git 0030268: Inspectors - improvements in VInspector plugin # do not use virtual methods in classes where there are no virtual destructor --- diff --git a/src/gp/gp_Ax22d.hxx b/src/gp/gp_Ax22d.hxx index 0ae5bada7f..a3e1d90d7c 100644 --- a/src/gp/gp_Ax22d.hxx +++ b/src/gp/gp_Ax22d.hxx @@ -211,7 +211,7 @@ public: Standard_NODISCARD gp_Ax22d Translated (const gp_Pnt2d& P1, const gp_Pnt2d& P2) const; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth = -1) const; + Standard_EXPORT void DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth = -1) const; diff --git a/src/gp/gp_Pnt2d.hxx b/src/gp/gp_Pnt2d.hxx index a4c61267f5..e02c8cd548 100644 --- a/src/gp/gp_Pnt2d.hxx +++ b/src/gp/gp_Pnt2d.hxx @@ -152,7 +152,7 @@ public: //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth = -1) const; + Standard_EXPORT void DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth = -1) const; protected: