]> OCCT Git - occt-copy.git/commitdiff
0030268: Inspectors - improvements in VInspector plugin
authornds <nds@opencascade.com>
Sat, 18 Jan 2020 03:56:05 +0000 (06:56 +0300)
committernds <nds@opencascade.com>
Sat, 18 Jan 2020 03:56:05 +0000 (06:56 +0300)
# do not use virtual methods in classes where there are no virtual destructor

src/gp/gp_Ax22d.hxx
src/gp/gp_Pnt2d.hxx

index 0ae5bada7f4416e583b96ac3dfa204dc88d373d8..a3e1d90d7cd7aa148a1bcef1bfef9f304d971ecb 100644 (file)
@@ -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;
 
 
 
index a4c61267f54e6b75068339dcd704be61fe27ef57..e02c8cd548e3836174b429a1bf866a7ed1663473 100644 (file)
@@ -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: