From c6f09dddb2b55bb2481da9305ff19a7cd2d5a9a4 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 17 Jan 2020 19:02:31 +0300 Subject: [PATCH] 0030268: Inspectors - improvements in VInspector plugin # do not use virtual methods in classes where there are no virtual destructor --- src/gp/gp_Ax1.hxx | 2 +- src/gp/gp_Ax2.hxx | 2 +- src/gp/gp_Ax2d.hxx | 2 +- src/gp/gp_Ax3.hxx | 2 +- src/gp/gp_Dir.hxx | 2 +- src/gp/gp_Pln.hxx | 2 +- src/gp/gp_Pnt.hxx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gp/gp_Ax1.hxx b/src/gp/gp_Ax1.hxx index 30ebcd3a62..4f4ad6f3fd 100644 --- a/src/gp/gp_Ax1.hxx +++ b/src/gp/gp_Ax1.hxx @@ -206,7 +206,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; //! Inits the content of me into the stream Standard_EXPORT Standard_Boolean InitJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); diff --git a/src/gp/gp_Ax2.hxx b/src/gp/gp_Ax2.hxx index 1777bd2fd5..2a8489f928 100644 --- a/src/gp/gp_Ax2.hxx +++ b/src/gp/gp_Ax2.hxx @@ -324,7 +324,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; //! Inits the content of me into the stream Standard_EXPORT Standard_Boolean InitJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); diff --git a/src/gp/gp_Ax2d.hxx b/src/gp/gp_Ax2d.hxx index cdcac03fbe..43ef526a0f 100644 --- a/src/gp/gp_Ax2d.hxx +++ b/src/gp/gp_Ax2d.hxx @@ -169,7 +169,7 @@ public: Standard_NODISCARD gp_Ax2d 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; protected: diff --git a/src/gp/gp_Ax3.hxx b/src/gp/gp_Ax3.hxx index 60756a67d7..3c1fdf368c 100644 --- a/src/gp/gp_Ax3.hxx +++ b/src/gp/gp_Ax3.hxx @@ -291,7 +291,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; //! Inits the content of me into the stream Standard_EXPORT Standard_Boolean InitJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); diff --git a/src/gp/gp_Dir.hxx b/src/gp/gp_Dir.hxx index 528371425d..2bffb00bce 100644 --- a/src/gp/gp_Dir.hxx +++ b/src/gp/gp_Dir.hxx @@ -264,7 +264,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; //! Inits the content of me into the stream Standard_EXPORT Standard_Boolean InitJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); diff --git a/src/gp/gp_Pln.hxx b/src/gp/gp_Pln.hxx index f4d5914076..4123e3f62e 100644 --- a/src/gp/gp_Pln.hxx +++ b/src/gp/gp_Pln.hxx @@ -242,7 +242,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; diff --git a/src/gp/gp_Pnt.hxx b/src/gp/gp_Pnt.hxx index 11452adf69..2f44ffff25 100644 --- a/src/gp/gp_Pnt.hxx +++ b/src/gp/gp_Pnt.hxx @@ -175,7 +175,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; //! Inits the content of me into the stream Standard_EXPORT Standard_Boolean InitJson (const Standard_SStream& theSStream, Standard_Integer& theStreamPos); -- 2.39.5