0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
[occt.git] / src / Storage / Storage_RootData.cxx
index 41cd30f..8d546f5 100644 (file)
@@ -59,7 +59,7 @@ Standard_Boolean Storage_RootData::Read (Storage_BaseDriver& theDriver)
       OCC_CATCH_SIGNALS
       theDriver.ReadRoot (aRootName, aRef, aTypeName);
     }
-    catch (Storage_StreamTypeMismatchError)
+    catch (Storage_StreamTypeMismatchError const&)
     {
       myErrorStatus = Storage_VSTypeMismatch;
       myErrorStatusExt = "ReadRoot";