mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
Add missing const& to catch statements.
This commit is contained in:
@@ -3325,7 +3325,7 @@ void IFSelect_WorkSession::DumpModel
|
||||
if (level == 3) C = CT.CheckList();
|
||||
else C = CT.CompleteCheckList();
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure const&) {
|
||||
Handle(Message_Messenger) sout = Message::DefaultMessenger();
|
||||
sout<<" **** Interruption DumpModel (Check) par Exception ****\n";
|
||||
S<<" ** ** Exception Raised during Check ! ** **\n";
|
||||
|
Reference in New Issue
Block a user