0030684: Coding Rules - eliminate GCC compiler warnings -Wformat-overflow and -Wcatch...
[occt.git] / src / Storage / Storage_TypeData.cxx
index 71798ba..18d1118 100644 (file)
@@ -56,7 +56,7 @@ Standard_Boolean Storage_TypeData::Read (Storage_BaseDriver& theDriver)
       OCC_CATCH_SIGNALS
       theDriver.ReadTypeInformations (aTypeNum, aTypeName);
     }
-    catch (Storage_StreamTypeMismatchError)
+    catch (const Storage_StreamTypeMismatchError&)
     {
       myErrorStatus = Storage_VSTypeMismatch;
       myErrorStatusExt = "ReadTypeInformations";