]> OCCT Git - occt-copy.git/commitdiff
0025936: Modeling Data - reusable data structure for 2D tesselation (3- and 4-nodal...
authorvro <vladislav.romashko@opencascade.com>
Thu, 11 Feb 2021 08:46:55 +0000 (11:46 +0300)
committervro <vladislav.romashko@opencascade.com>
Thu, 11 Feb 2021 08:46:55 +0000 (11:46 +0300)
// A keyword "override" is inserted in declaration of the method Copy() from Poly_Mesh

src/Poly/Poly_Mesh.hxx

index 5a99b29e8556a18fae2b7b9fac1e9b27f95e2420..70db45f22fceaa4b9f35559e22614e5b6ba7d5dd 100644 (file)
@@ -45,7 +45,7 @@ public:
   Standard_EXPORT Poly_Mesh (const Handle(Poly_Triangulation)& theTriangulation);
 
   //! Creates full copy of current mesh
-  Standard_EXPORT virtual Handle(Poly_Triangulation) Copy() const;
+  Standard_EXPORT virtual Handle(Poly_Triangulation) Copy() const Standard_OVERRIDE;
 
   //! Sets a quadrangle to the mesh.
   //! @param theIndex is an index of the quadrangle.