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

0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value

Add missing const& to catch statements.
This commit is contained in:
kgv
2019-03-31 23:38:14 +03:00
parent f996b507d8
commit a738b534ca
106 changed files with 210 additions and 213 deletions

View File

@@ -457,7 +457,7 @@ Standard_Integer TColStd_PackedMapOfInteger::GetMinimalMapped () const
}
if (pFoundNode) {
unsigned int aFullMask (0xffffffff);
aResult = TColStd_intMapNode_findNext ((const Standard_Address )pFoundNode, aFullMask);
aResult = TColStd_intMapNode_findNext ((Standard_Address )pFoundNode, aFullMask);
}
}
return aResult;
@@ -486,7 +486,7 @@ Standard_Integer TColStd_PackedMapOfInteger::GetMaximalMapped () const
}
if (pFoundNode) {
unsigned int aFullMask (0xffffffff);
aResult = TColStd_intMapNode_findPrev ((const Standard_Address )pFoundNode, aFullMask);
aResult = TColStd_intMapNode_findPrev ((Standard_Address )pFoundNode, aFullMask);
}
}
return aResult;