1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

Warning on windows in QABugs_11.cxx was eliminated

This commit is contained in:
apn 2017-02-02 19:01:54 +03:00
parent 6662fe6313
commit d1d3e057ca

View File

@ -2620,10 +2620,10 @@ static Standard_Integer OCC6143 (Draw_Interpretor& di, Standard_Integer argc, co
catch(OSD_Exception_STACK_OVERFLOW) {
di << "Caught, OK\n";
}
catch(Standard_Failure) {
catch(Standard_Failure const& anException) {
//cout << " Caught (" << Standard_Failure::Caught() << ")... KO" << endl;
di << " Caught (";
di << Standard_Failure::Caught()->GetMessageString();
di << anException.GetMessageString();
di << ")... KO\n";
Succes = Standard_False;
}