0024162: Eliminate CLang compiler warning

Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
omy
2013-09-11 15:49:07 +04:00
committed by abv
parent eafb234bf1
commit 258ff83bb6
77 changed files with 151 additions and 334 deletions
@@ -30,7 +30,7 @@ class ComparatorOfVertexOfDelaun from BRepMesh
XY from gp
is Create (theDir : XY from gp; TheTol: Real from Standard)
is Create (theDir : XY from gp)
returns ComparatorOfVertexOfDelaun;
@@ -26,9 +26,8 @@
//purpose :
//=======================================================================
BRepMesh_ComparatorOfVertexOfDelaun::BRepMesh_ComparatorOfVertexOfDelaun(const gp_XY& theDir,
const Standard_Real theTol)
: DirectionOfSort(theDir), Tolerance(theTol)
BRepMesh_ComparatorOfVertexOfDelaun::BRepMesh_ComparatorOfVertexOfDelaun(const gp_XY& theDir)
: DirectionOfSort(theDir)
{}
//=======================================================================
+1 -1
View File
@@ -2030,7 +2030,7 @@ void BRepMesh_Delaun::RemoveVertex( const BRepMesh_Vertex& theVertex )
void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices )
{
BRepMesh_HeapSortVertexOfDelaun::Sort( theVertices,
BRepMesh_ComparatorOfVertexOfDelaun( SortingDirection, Precision ) );
BRepMesh_ComparatorOfVertexOfDelaun( SortingDirection ) );
Standard_Integer aLower = theVertices.Lower();
Standard_Integer anUpper = theVertices.Upper();