0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value

Add missing const& to catch statements.
This commit is contained in:
kgv
2019-03-31 23:38:14 +03:00
parent f996b507d8
commit a738b534ca
106 changed files with 210 additions and 213 deletions

View File

@@ -184,7 +184,7 @@ void XmlMDataStd_RealArrayDriver::Paste (const Handle(TDF_Attribute)& theSource,
OCC_CATCH_SIGNALS
str.Allocate(25 * realArray.Length() + 1);
}
catch (Standard_OutOfMemory)
catch (Standard_OutOfMemory const&)
{
// If allocation of big space for the string of double array values failed,
// try to calculate the necessary space more accurate and allocate it.