Changed all catch types to references for polymorphic exceptions.

This commit is contained in:
Markus Lampert
2018-07-30 10:28:54 -07:00
committed by wmayer
parent 1a6fd6b048
commit e13c09235f
53 changed files with 98 additions and 98 deletions

View File

@@ -454,7 +454,7 @@ bool GeomCurve::closestParameter(const Base::Vector3d& point, double &u) const
return true;
}
}
catch (StdFail_NotDone e) { // projection does not exist on trimmer curve, let's try basis curve
catch (StdFail_NotDone& e) { // projection does not exist on trimmer curve, let's try basis curve
closestParameterToBasicCurve(point,u);
if(abs(u-c->FirstParameter()) < abs(u-c->LastParameter()))