mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03: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