theFVal = -1.0*aP1.SquareDistance(aP2);
}
- catch(Standard_Failure) {
+ catch(Standard_Failure const&) {
return Standard_False;
}
//
*theDeriv2 = -2.0*(aVec2.SquareMagnitude() + aVec1.Dot(aVec3));
}
}
- catch(Standard_Failure)
+ catch(Standard_Failure const&)
{
return Standard_False;
}
myMaxDistance = sqrt(Abs(myMaxDistance));
}
- catch (Standard_Failure) {
+ catch (Standard_Failure const&) {
myErrorStatus = 3;
}
}
theNbParticles = Max(theNbParticles, aBS2DCurv->Degree());
}
}
- catch(Standard_Failure)
+ catch(Standard_Failure const&)
{
#ifdef OCCT_DEBUG
cout << "ERROR! BRepLib_CheckCurveOnSurface.cxx, "
}
}
}
- catch(Standard_Failure)
+ catch(Standard_Failure const&)
{
#ifdef OCCT_DEBUG
cout << "BRepLib_CheckCurveOnSurface.cxx: Exception in MinComputing()!" << endl;