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

@@ -1062,7 +1062,7 @@ Handle(Transfer_Binder) Transfer_TransferProcess::Transferring(const TheStart& s
}
// ... Exceptions a Rattraper : elles ne se ressemblent pas toutes ... !
catch (Transfer_TransferDeadLoop) {
catch (Transfer_TransferDeadLoop const&) {
if (binder.IsNull()) {
themessenger << " *** Dead Loop with no Result" << endl;
if (thetrace) StartTrace (binder, start, thelevel-1,0);