1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024567: Coding rules - eliminate GCC warning -Wignored-qualifiers

Redundant const qualifiers of return types of functions returning values are removed
This commit is contained in:
abv
2015-11-07 21:19:03 +03:00
parent cda9a0d4c2
commit 487bf1ceaa
52 changed files with 92 additions and 220 deletions

View File

@@ -308,7 +308,7 @@ void BRepLib_FuseEdges::Faces(TopTools_DataMapOfShapeShape& theMapFac)
//purpose :
//=======================================================================
const Standard_Integer BRepLib_FuseEdges::NbVertices()
Standard_Integer BRepLib_FuseEdges::NbVertices()
{
Standard_NullObject_Raise_if(myShape.IsNull(),"FuseEdges : No Shape");

View File

@@ -85,7 +85,7 @@ public:
Standard_EXPORT TopoDS_Shape& Shape();
//! returns the number of vertices candidate to be removed
Standard_EXPORT const Standard_Integer NbVertices();
Standard_EXPORT Standard_Integer NbVertices();
//! Using map of list of connex edges, fuse each list to
//! one edge and then update myShape