mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-31 08:01:46 +08:00
0026583: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides function parameter
Eliminated warnings about "declaration of local variable hides function parameter"
This commit is contained in:
@@ -42,14 +42,14 @@
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
static void Propagate(const TopTools_IndexedDataMapOfShapeListOfShape& mapEF,
|
||||
const TopoDS_Shape& fac,
|
||||
const TopoDS_Shape& theFac,
|
||||
TopTools_MapOfShape& mapF)
|
||||
{
|
||||
if (mapF.Contains(fac))
|
||||
if (mapF.Contains(theFac))
|
||||
{
|
||||
return;
|
||||
}
|
||||
mapF.Add(fac); // attention, if oriented == Standard_True, fac should
|
||||
mapF.Add(theFac); // attention, if oriented == Standard_True, fac should
|
||||
// be FORWARD or REVERSED. It is not checked.
|
||||
|
||||
TopTools_MapIteratorOfMapOfShape itf(mapF);
|
||||
|
||||
Reference in New Issue
Block a user