From: apn Date: Thu, 2 Feb 2017 16:01:54 +0000 (+0300) Subject: Warning on windows in QABugs_11.cxx was eliminated X-Git-Tag: V7_2_0_beta~265 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=d1d3e057ca370849da407ce8489f074fa5726630;p=occt-copy.git Warning on windows in QABugs_11.cxx was eliminated --- diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx index 5896d3b608..8895b28d4b 100644 --- a/src/QABugs/QABugs_11.cxx +++ b/src/QABugs/QABugs_11.cxx @@ -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; }