0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
[occt.git] / src / Draw / Draw_Interpretor.cxx
index 4fce4f4..dc32d9c 100644 (file)
@@ -551,7 +551,7 @@ Draw_Interpretor::~Draw_Interpretor()
     OCC_CATCH_SIGNALS
     Tcl_Exit(0);
   }
-  catch (Standard_Failure) {
+  catch (Standard_Failure const&) {
 #ifdef OCCT_DEBUG
     cout <<"Tcl_Exit have an exeption" << endl;
 #endif