mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08:00
0024162: Eliminate CLang compiler warning
Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
@@ -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)
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user