0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
[occt.git] / src / CDF / CDF_StoreList.cxx
index afd7511..38d89d8 100644 (file)
@@ -121,7 +121,7 @@ PCDM_StoreStatus CDF_StoreList::Store (Handle(CDM_MetaData)& aMetaData, TCollect
       }
     }
 
-    catch (CDF_MetaDataDriverError anException) {
+    catch (CDF_MetaDataDriverError const& anException) {
       CAUGHT(anException, aStatusAssociatedText, TCollection_ExtendedString("metadatadriver failed; reason:"));
       status = PCDM_SS_DriverFailure;
     }