0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
[occt.git] / src / AIS / AIS_Axis.cxx
index 8ae1383..aab1609 100644 (file)
@@ -81,7 +81,7 @@ myIsXYZAxis(Standard_True)
   Standard_Real aLength;
   try {
     aLength = UnitsAPI::AnyToLS(100. ,"mm");
-  } catch (Standard_Failure) {
+  } catch (Standard_Failure const&) {
     aLength = 0.1;
   }
   DA->SetAxisLength(aLength,aLength,aLength);